Merge pull request #679 from wilsonrc/fix/675-refresh-cache-reply

[ISSUE-675] update last conversation message after replying from notification.
This commit is contained in:
Tibor Kaputa
2023-07-08 09:46:23 +02:00
committed by GitHub

View File

@@ -44,6 +44,8 @@ class DirectReplyReceiver : BroadcastReceiver() {
if (message != null) {
context.messagesDB.insertOrUpdate(message)
messageId = message.id
context.updateLastConversationMessage(threadId)
}
} catch (e: Exception) {
context.showErrorToast(e)