-
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api_types/model: Update the mentioned narrow with message edit events.
This commit fixes a bug, allowing the mentioned narrow and the index to be updated as soon as a message edit event with change in flags is detected. Although, the changes are not rendered at the same time but this updates the model so that a return to the mentioned messages narrow will do so. The behaviour is very similar to the starred message narrow and the view is rendered only if a change in mentioned flag is detected from the events. The tests are also tried to be modified as less as possible, and the present fixtures were mostly used to test for this new condition, thus preventing the use of too many fixtures. Tests added and amended.
- Loading branch information
Showing
3 changed files
with
142 additions
and
11 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