talk-android/app
Marcel Hibbe 9a14764321
do not try to pull chat messages when offline or paused
Otherwise, it resulted in a lot of flickering because _lastCommonReadFlow was emitted every 500ms. And anyway if we know we are offline or paused then it doesn't make sense to execute the sync method.

chain which caused the flickering was:
updateUiForLastCommonRead (_lastCommonReadFlow) -> updateReadStatusOfAllMessages - notifyDataSetChanged -> onBindViewHolder -> IncomingLinkPreviewMessageViewHolder

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 17:05:07 +02:00
..
schemas/com.nextcloud.talk.data.source.local.TalkDatabase bump database version to 11 + add migration 2024-08-12 16:47:07 +02:00
src do not try to pull chat messages when offline or paused 2024-09-11 17:05:07 +02:00
build.gradle fix(deps): update dependency androidx.compose:compose-bom to v2024.09.01 2024-09-10 20:32:37 +00:00
lint.xml
proguard-rules.pro