forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
queueMarkAsRead: Set timeout if there is mark request in less than 2s.
If there are multiple requests to mark messages as read with interval less than 2s, and if there is no further request then later were stuck in the queue. Becuase there was only one caller to `messagesFlags`, which was only called by user scroll event. So even after reaching at the end of message list, unread banner is visible with some unread count. So now set timeout to send read message flag to server. Fixes: zulip#3509
- Loading branch information
1 parent
529f982
commit 8e89c18
Showing
2 changed files
with
30 additions
and
3 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