Remove useless code. Returned value is not used. `observeRoomSummary()` is called a few lines above.
This commit is contained in:
parent
657796c8b5
commit
b6deff8a0b
|
@ -195,7 +195,6 @@ class TimelineViewModel @AssistedInject constructor(
|
||||||
observeActiveRoomWidgets()
|
observeActiveRoomWidgets()
|
||||||
observePowerLevel()
|
observePowerLevel()
|
||||||
setupPreviewUrlObservers()
|
setupPreviewUrlObservers()
|
||||||
room.getRoomSummaryLive()
|
|
||||||
viewModelScope.launch(Dispatchers.IO) {
|
viewModelScope.launch(Dispatchers.IO) {
|
||||||
tryOrNull { room.readService().markAsRead(ReadService.MarkAsReadParams.READ_RECEIPT) }
|
tryOrNull { room.readService().markAsRead(ReadService.MarkAsReadParams.READ_RECEIPT) }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue