Skip to content
Snippets Groups Projects
Commit 40f215f6 authored by Taras's avatar Taras
Browse files

Fix markRoom as read for circle

parent 7b07f55d
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ class TimelineViewModel @Inject constructor(
launchBg {
if (isGroup) readMessageDataSource.markRoomAsRead(roomId)
else session?.getRoom(roomId)?.roomSummary()?.spaceChildren?.map {
async { readMessageDataSource.markRoomAsRead(roomId) }
async { readMessageDataSource.markRoomAsRead(it.childRoomId) }
}?.awaitAll()
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment