From a959c02252c88351e8ba03125f94ccc12171592f Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Tue, 27 Oct 2020 09:59:29 +1100 Subject: [PATCH] Fix inverted boolean --- src/org/thoughtcrime/securesms/loki/api/PublicChatManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/loki/api/PublicChatManager.kt b/src/org/thoughtcrime/securesms/loki/api/PublicChatManager.kt index cdcdc20e6b..c632e44eaa 100644 --- a/src/org/thoughtcrime/securesms/loki/api/PublicChatManager.kt +++ b/src/org/thoughtcrime/securesms/loki/api/PublicChatManager.kt @@ -25,7 +25,7 @@ class PublicChatManager(private val context: Context) { refreshChatsAndPollers() for ((threadID, chat) in chats) { val poller = pollers[threadID] - areAllCaughtUp = if(poller != null) areAllCaughtUp && poller.isCaughtUp else false + areAllCaughtUp = if (poller != null) areAllCaughtUp && poller.isCaughtUp else true } return areAllCaughtUp }