Fix threading

pull/51/head
Niels Andriesse 5 years ago
parent e17002c979
commit 8ccfa77ef6

@ -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