-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix not showing displaynames of already synced rooms
Fixes #149 The display_names were only populated from the OriginalSyncRoomMemberEvent. When opening an already synced room, display_names is not populated. The ChatStore's `need_load` is changed to a hashmap with OwnedRoomIds as keys and a bitmask of "needs" as value. The "need" thus can be `MESSAGES` or `MEMBERS`. The task that loads messages now also loads members, if that flag is set for the room, which is done when opening a window. Thanks to <benjamin@computer.surgery> for finding the source of the bug in that issue.
- Loading branch information
Showing
5 changed files
with
194 additions
and
82 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
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
Oops, something went wrong.