Merge pull request #2 from loki-project/dev

Fix threading
pull/44/head
RyanZhao 5 years ago committed by GitHub
commit a307a8e207
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -204,7 +204,7 @@ class LokiPublicChatPoller(private val context: Context, private val group: Loki
}.toSet()
// Fetch the display names of the primary devices
displayNameUpdatees = displayNameUpdatees.union(newDisplayNameUpdatees)
}.success { messages ->
}.successBackground { messages ->
// Process messages in the background
messages.forEach { message ->
if (userDevices.contains(message.hexEncodedPublicKey)) {

Loading…
Cancel
Save