From e3bf8541df37c8a8a009397203a28c8bfaaac79c Mon Sep 17 00:00:00 2001 From: Wilson Date: Fri, 7 Jul 2023 15:13:23 -0400 Subject: [PATCH] update last conversation message after replying from notification. #ISSUE-675 --- .../smsmessenger/receivers/DirectReplyReceiver.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/DirectReplyReceiver.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/DirectReplyReceiver.kt index d38c4161..f9c1d845 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/DirectReplyReceiver.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/DirectReplyReceiver.kt @@ -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)