mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 10:54:36 -06:00
[UI/Messages] Fix sending message not showing the message fragment.
This commit is contained in:
parent
6c50a80b42
commit
148597e578
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user