Hot fix LL not working

This commit is contained in:
ganfra
2019-05-15 11:11:38 +02:00
parent 8929898397
commit 8d0322c0c3
4 changed files with 4 additions and 13 deletions

View File

@ -60,10 +60,6 @@ class HomeActivityViewModel(state: EmptyState,
init {
session.addListener(this)
// TODO Move this else where, it's too late when we are here to change the filter
session.setFilter(FilterService.FilterPreset.RiotFilter)
val lastSelectedRoomId = roomSelectionRepository.lastSelectedRoom()
if (lastSelectedRoomId == null || session.getRoom(lastSelectedRoomId) == null) {
getTheFirstRoomWhenAvailable()