You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Remove unstable support for m.room_key.withheld (#2512)
We no longer send or receive the unstable type.
This commit is contained in:
@@ -738,7 +738,6 @@ class MegolmEncryption extends EncryptionAlgorithm {
|
||||
contentMap[userId][deviceId] = message;
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user