fix #134, properly send messages in new conversations

This commit is contained in:
tibbi 2021-01-18 17:06:29 +01:00
parent e7caff7deb
commit ec20dcadeb
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class ThreadActivity : SimpleActivity() {
ensureBackgroundThread { ensureBackgroundThread {
val cachedMessagesCode = messages.hashCode() val cachedMessagesCode = messages.hashCode()
messages = getMessages(threadId) messages = getMessages(threadId)
if (messages.hashCode() == cachedMessagesCode) { if (messages.hashCode() == cachedMessagesCode && participants.isNotEmpty()) {
return@ensureBackgroundThread return@ensureBackgroundThread
} }