Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update unread marker correctly #1124

Merged
merged 1 commit into from Mar 10, 2023
Merged

Update unread marker correctly #1124

merged 1 commit into from Mar 10, 2023

Conversation

SystemKeeper
Copy link
Collaborator

Fixes #1123

In startReceivingChatMessagesFromMessagesId we only check for message.timestamp > _room.lastActivity, in all other places (getInitialChatHistory for example) we check for >=. When we already received a room update, we won't mark it as read anymore, since the lastActivity is equal to the processed message, but actually we want to update it even if the timestamps are equal, to remove the unread marker.

… equal

Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
@Ivansss Ivansss merged commit 425a8f3 into master Mar 10, 2023
2 checks passed
@Ivansss Ivansss deleted the fix-updating-lastmessage branch March 10, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iPad view left sidebar does not "cheat" unread counter anymore
2 participants