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()
|
collapseSystemMessages()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
processExpiredMessages()
|
||||||
processCallStartedMessages(chatMessageList)
|
processCallStartedMessages(chatMessageList)
|
||||||
|
|
||||||
adapter?.notifyDataSetChanged()
|
adapter?.notifyDataSetChanged()
|
||||||
@ -823,6 +824,7 @@ class ChatActivity :
|
|||||||
chatViewModel.getLastCommonReadFlow
|
chatViewModel.getLastCommonReadFlow
|
||||||
.onEach {
|
.onEach {
|
||||||
updateReadStatusOfAllMessages(it)
|
updateReadStatusOfAllMessages(it)
|
||||||
|
processExpiredMessages()
|
||||||
}
|
}
|
||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
@ -362,7 +362,7 @@ class OfflineFirstChatRepository @Inject constructor(
|
|||||||
.blockingSingle()
|
.blockingSingle()
|
||||||
return result
|
return result
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Log.e(TAG, "some exception", e)
|
Log.e(TAG, "Something went wrong when pulling chat messages", e)
|
||||||
}
|
}
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user