mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-26 02:17:21 +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()
|
refreshChatsAndPollers()
|
||||||
for ((threadID, chat) in chats) {
|
for ((threadID, chat) in chats) {
|
||||||
val poller = pollers[threadID]
|
val poller = pollers[threadID]
|
||||||
areAllCaughtUp = if(poller != null) areAllCaughtUp && poller.isCaughtUp else false
|
areAllCaughtUp = if (poller != null) areAllCaughtUp && poller.isCaughtUp else true
|
||||||
}
|
}
|
||||||
return areAllCaughtUp
|
return areAllCaughtUp
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user