-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track users when joining encrypted rooms (#251)
* Track users when joining encrypted rooms Users are only tracked when the bot user is already in the room when encryption is enabled or if the member status of the user changes in an already encrypted room. This leads to megolm sessions which don't include all devices when a bot joins an encrypted room and existing users can't decrypt messages by the bot. Before this change, only in rooms created by the bot could all other users decrypt messages from the bot. Now already present users will also be tracked and receive the session keys. Signed-off-by: Fabian Möller <[email protected]> * Add test & adjust logic slightly Signed-off-by: Fabian Möller <[email protected]> Co-authored-by: Travis Ralston <[email protected]> Co-authored-by: Travis Ralston <[email protected]>
- Loading branch information
1 parent
c92382f
commit 9e744cb
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters