1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Send and handle stable name for withheld codes (#2232)

since MSC2399 is finished FCP and it's in the spec, we can use the stable name
now
This commit is contained in:
Hubert Chathi
2022-03-11 16:21:06 -05:00
committed by GitHub
parent 9fc8048c30
commit 17f3920ddd
4 changed files with 74 additions and 7 deletions

View File

@@ -709,6 +709,7 @@ class MegolmEncryption extends EncryptionAlgorithm {
}
await this.baseApis.sendToDevice("org.matrix.room_key.withheld", contentMap);
await this.baseApis.sendToDevice("m.room_key.withheld", contentMap);
// record the fact that we notified these blocked devices
for (const userId of Object.keys(contentMap)) {