mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
Missed another spot
Signed-off-by: Dominic Fischer <dominicfischer7@gmail.com>
This commit is contained in:
parent
7ee87a0d4b
commit
759528f19a
1 changed files with 1 additions and 3 deletions
|
@ -109,9 +109,7 @@ class HomeDetailViewModel @AssistedInject constructor(@Assisted initialState: Ho
|
|||
)
|
||||
.map { it.roomId }
|
||||
try {
|
||||
awaitCallback<Unit> {
|
||||
session.markAllAsRead(roomIds, it)
|
||||
}
|
||||
session.markAllAsRead(roomIds)
|
||||
} catch (failure: Throwable) {
|
||||
Timber.d(failure, "Failed to mark all as read")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue