mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +00:00
Fix inverted boolean
This commit is contained in:
parent
4e69a538cb
commit
a959c02252
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user