diff options
author | link2xt <link2xt@testrun.org> | 2021-06-06 17:29:35 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-06-06 17:29:35 +0300 |
commit | 321c19b7415e837acc4e66d535e82518618bc096 (patch) | |
tree | ac5edbf0302029297234a258ab2411eccfb337f6 | |
parent | 673447241e20dff4bfe7ddb13805a5bd6e47a5ce (diff) | |
download | kdeltachat-321c19b7415e837acc4e66d535e82518618bc096.tar.gz kdeltachat-321c19b7415e837acc4e66d535e82518618bc096.zip |
ChatPage: update when DC_EVENT_MSGS_CHANGED is reported for chat ID 0
0 means multiple chats have changed, for example when a message is
moved from contact requests to its own chat.
-rw-r--r-- | qml/ChatPage.qml | 2 |
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() } } |