mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 13:05:31 +03:00
trivial formatting change to test checks
Signed-off-by: Julius Linus julius.linus@nextcloud.com
This commit is contained in:
parent
63b9e41a16
commit
42c55cd5ac
1 changed files with 9 additions and 8 deletions
|
@ -145,14 +145,15 @@ class FilterConversationFragment(
|
|||
for ((k, v) in filterState) {
|
||||
if (v) {
|
||||
when (k) {
|
||||
MENTION -> result = (result && conversation.unreadMention) || (
|
||||
result &&
|
||||
(
|
||||
conversation.type == Conversation.ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL ||
|
||||
conversation.type == Conversation.ConversationType.FORMER_ONE_TO_ONE
|
||||
) &&
|
||||
(conversation.unreadMessages > 0)
|
||||
)
|
||||
MENTION -> result = (result && conversation.unreadMention) ||
|
||||
(
|
||||
result &&
|
||||
(
|
||||
conversation.type == Conversation.ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL ||
|
||||
conversation.type == Conversation.ConversationType.FORMER_ONE_TO_ONE
|
||||
) &&
|
||||
(conversation.unreadMessages > 0)
|
||||
)
|
||||
UNREAD -> result = result && (conversation.unreadMessages > 0)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue