mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-10 08:00:57 +00:00
fix to processExpiredMessages
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
d18bd20bf1
commit
a84e69b6bb
@ -804,6 +804,7 @@ class ChatActivity :
|
||||
collapseSystemMessages()
|
||||
}
|
||||
|
||||
processExpiredMessages()
|
||||
processCallStartedMessages(chatMessageList)
|
||||
|
||||
adapter?.notifyDataSetChanged()
|
||||
@ -823,6 +824,7 @@ class ChatActivity :
|
||||
chatViewModel.getLastCommonReadFlow
|
||||
.onEach {
|
||||
updateReadStatusOfAllMessages(it)
|
||||
processExpiredMessages()
|
||||
}
|
||||
.collect()
|
||||
}
|
||||
|
@ -362,7 +362,7 @@ class OfflineFirstChatRepository @Inject constructor(
|
||||
.blockingSingle()
|
||||
return result
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG, "some exception", e)
|
||||
Log.e(TAG, "Something went wrong when pulling chat messages", e)
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user