Remove useless code. Returned value is not used. `observeRoomSummary()` is called a few lines above.

This commit is contained in:
Benoit Marty 2022-08-31 11:11:27 +02:00
parent 657796c8b5
commit b6deff8a0b
1 changed files with 0 additions and 1 deletions

View File

@ -195,7 +195,6 @@ class TimelineViewModel @AssistedInject constructor(
observeActiveRoomWidgets()
observePowerLevel()
setupPreviewUrlObservers()
room.getRoomSummaryLive()
viewModelScope.launch(Dispatchers.IO) {
tryOrNull { room.readService().markAsRead(ReadService.MarkAsReadParams.READ_RECEIPT) }
}