-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark as unread now applied to previous message id
Added props for previous and next message id in MessagesGroup and Message components. Now using the previous message id when marking as unread. Since now the next message id is available on all message components, the logic in MessagesList that iterates over the next messages is now using the next message id attribute instead of handling the DOM tree on its own. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
- Loading branch information
Showing
3 changed files
with
29 additions
and
43 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