This commit is contained in:
Austin Huang 2021-06-04 15:29:36 -04:00
parent aad93a9662
commit 4a72d64a6d
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

@ -117,7 +117,7 @@ class InboxManager private constructor(private val pending: Boolean) {
val threads = it.threads val threads = it.threads
val threadsCopy = if (threads == null) LinkedList() else LinkedList(threads) val threadsCopy = if (threads == null) LinkedList() else LinkedList(threads)
threadsCopy.addAll(inbox.threads ?: emptyList()) threadsCopy.addAll(inbox.threads ?: emptyList())
inbox.threads = threads inbox.threads = threadsCopy
} }
} }
this.inbox.postValue(success(inbox)) this.inbox.postValue(success(inbox))