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
MegolmDecryption::deviceId is not a valid field, sub it out for undefined as it isn't used meaningfully anyhow
This commit is contained in:
@@ -1539,7 +1539,7 @@ class MegolmDecryption extends DecryptionAlgorithm {
|
||||
await olmlib.encryptMessageForDevice(
|
||||
encryptedContent.ciphertext,
|
||||
this.userId,
|
||||
this.deviceId,
|
||||
undefined,
|
||||
this.olmDevice,
|
||||
sender,
|
||||
device,
|
||||
@@ -1619,7 +1619,7 @@ class MegolmDecryption extends DecryptionAlgorithm {
|
||||
return this.olmlib.encryptMessageForDevice(
|
||||
encryptedContent.ciphertext,
|
||||
this.userId,
|
||||
this.deviceId,
|
||||
undefined,
|
||||
this.olmDevice,
|
||||
userId,
|
||||
deviceInfo,
|
||||
@@ -1782,7 +1782,7 @@ class MegolmDecryption extends DecryptionAlgorithm {
|
||||
olmlib.encryptMessageForDevice(
|
||||
encryptedContent.ciphertext,
|
||||
this.userId,
|
||||
this.deviceId,
|
||||
undefined,
|
||||
this.olmDevice,
|
||||
userId,
|
||||
deviceInfo,
|
||||
|
||||
Reference in New Issue
Block a user