close #1385
This commit is contained in:
parent
aad93a9662
commit
4a72d64a6d
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user