mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-01 20:22:03 +00:00
also account for unread 1on1 messages for unreadMessages bubbleClicked
Fixes #1599 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
1342bd5df3
commit
638b7c8288
@ -631,7 +631,10 @@ public class ConversationsListController extends BaseController implements Searc
|
||||
for (AbstractFlexibleItem flexItem : callItems) {
|
||||
Conversation conversationItem = ((ConversationItem) flexItem).getModel();
|
||||
int position = adapter.getGlobalPositionOf(flexItem);
|
||||
if (conversationItem.unreadMention && position > lastVisibleItem) {
|
||||
if ((conversationItem.unreadMention ||
|
||||
(conversationItem.unreadMessages > 0 &&
|
||||
conversationItem.type == Conversation.ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL)) &&
|
||||
position > lastVisibleItem) {
|
||||
if (!newMentionPopupBubble.isShown()) {
|
||||
newMentionPopupBubble.show();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user