Skip to content

Commit be1b9bc

Browse files
committed
Fix the message ID on key-share messages
#2938 introduced message IDs on outgoing to-device messages, but a typo meant that the IDs on key-share messages were excessive.
1 parent ccab698 commit be1b9bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/algorithms/megolm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,7 @@ class MegolmDecryption extends DecryptionAlgorithm {
17561756
algorithm: olmlib.OLM_ALGORITHM,
17571757
sender_key: this.olmDevice.deviceCurve25519Key,
17581758
ciphertext: {},
1759-
[ToDeviceMessageId]: uuidv4,
1759+
[ToDeviceMessageId]: uuidv4(),
17601760
};
17611761

17621762
return this.olmlib.encryptMessageForDevice(

0 commit comments

Comments
 (0)