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