Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

initialize _roomDecryptors properly #315

Merged
merged 1 commit into from
Sep 7, 2022
Merged

Conversation

mcalinghee
Copy link
Contributor

No description provided.

Copy link
Contributor

@weeman1337 weeman1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@@ -2245,7 +2245,8 @@ Crypto.prototype._getRoomDecryptor = function(roomId, algorithm) {
if (roomId) {
decryptors = this._roomDecryptors.get(roomId);
if (!decryptors) {
this._roomDecryptors[roomId] = decryptors = new Map();
decryptors = new Map();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aaaaarghhhh
Thank you !!!

@mcalinghee mcalinghee linked an issue Sep 7, 2022 that may be closed by this pull request
@mcalinghee mcalinghee merged commit f9b411e into develop Sep 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Investigation] Message are decrypted after importing keys
3 participants