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
commit 9942fb788a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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)