mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
WIP one-to-one behaves like mentioned
Signed-off-by: Julius Linus julius.linus@nextcloud.com
This commit is contained in:
parent
8543b947c3
commit
d24bd9d6a2
@ -145,7 +145,11 @@ class FilterConversationFragment(
|
|||||||
for ((k, v) in filterState) {
|
for ((k, v) in filterState) {
|
||||||
if (v) {
|
if (v) {
|
||||||
when (k) {
|
when (k) {
|
||||||
MENTION -> result = result && conversation.unreadMention
|
MENTION -> result = (result && conversation.unreadMention) || (
|
||||||
|
result &&
|
||||||
|
(conversation.type == Conversation.ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL) &&
|
||||||
|
(conversation.unreadMessages > 0)
|
||||||
|
)
|
||||||
UNREAD -> result = result && (conversation.unreadMessages > 0)
|
UNREAD -> result = result && (conversation.unreadMessages > 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user