nextcloud-talk-android/app
Marcel Hibbe f285cda435 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-08 12:05:49 +00: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 fix messages not shown + improve unread marker behavior 2024-11-08 12:05:49 +00:00
build.gradle bump version to 20.0.2 2024-09-26 13:37:19 +02: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