[UI/Messages] Fix sending message not showing the message fragment.

This commit is contained in:
Kuba Szczodrzyński 2022-02-21 21:46:16 +01:00
parent 6c50a80b42
commit 148597e578
No known key found for this signature in database
GPG Key ID: 70CB8A85BA1633CB

View File

@ -72,6 +72,9 @@ class MessageManager(private val app: App) {
if (sentDate > 0L) { if (sentDate > 0L) {
it.addedDate = sentDate it.addedDate = sentDate
} }
withContext(Dispatchers.IO) {
it.recipients = app.db.messageRecipientDao().getAllByMessageId(profileId, it.id)
}
} }
} else { } else {
withContext(Dispatchers.IO) { withContext(Dispatchers.IO) {