fix #134, properly send messages in new conversations
This commit is contained in:
parent
e7caff7deb
commit
ec20dcadeb
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue