nextcloud-talk-android/app
Marcel Hibbe 675bc9bec0
fix messages not shown + improve unread marker behavior
this commit will avoid to fail to show messages in adapter. This was caused by the usage of
messagesListAdapter.deleteById("-1");
in UnreadNoticeMessageViewHolder.
The bug seems to exist in the past already but was never reported (Sometimes, when receiving a lot of messages it could happen that some message in between is not shown in UI). However with recent changes after release 20.0.2 the bug appeared more often.

The root cause was not analyzed, but the handling was modified in general as the unread marker behavior was never really good.
By not using deleteById but replace it with new unread marker logic, the bug of disappearing messages is solved and the unread messages marker behavior is improved.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-05 13:31:54 +01:00
..
schemas/com.nextcloud.talk.data.source.local.TalkDatabase WIP got archived working - still have some todos 2024-10-14 09:00:24 -05:00
src fix messages not shown + improve unread marker behavior 2024-11-05 13:31:54 +01:00
build.gradle Update dependency androidx.compose:compose-bom to v2024.10.01 2024-10-31 20:17:03 +00:00
lint.xml Add SPDX header 2024-03-21 18:39:30 +01:00
proguard-rules.pro Add SPDX header 2024-03-17 14:19:56 +01:00