Update local unreadCount when marking chat as read

Change-Id: I12718de30fb36b701fe4d5e63ccae96e13b9e34c
This commit is contained in:
SpiritCroc 2021-09-24 15:51:49 +02:00
parent d190cc9f0f
commit 3563e76432

View file

@ -133,6 +133,7 @@ internal class DefaultSetReadMarkersTask @Inject constructor(
?: return@awaitTransaction
roomSummary.notificationCount = 0
roomSummary.highlightCount = 0
roomSummary.unreadCount = 0
roomSummary.hasUnreadMessages = false
roomSummary.hasUnreadContentMessages = false
roomSummary.hasUnreadOriginalContentMessages = false