aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qml/ChatPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml
index f8c776e..dfa5a4c 100644
--- a/qml/ChatPage.qml
+++ b/qml/ChatPage.qml
@@ -68,7 +68,7 @@ Kirigami.ScrollablePage {
function onMessagesChanged(accountId, chatId, msgId) {
console.log("Messages changed for chat " + chatId)
- if (chatId == chatPage.chatId) {
+ if (chatId == chatPage.chatId || chatId == 0) {
chatPage.updateMessagelist()
}
}