diff options
Diffstat (limited to 'qml/ChatPage.qml')
-rw-r--r-- | qml/ChatPage.qml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml index fb99eeb..b830bc0 100644 --- a/qml/ChatPage.qml +++ b/qml/ChatPage.qml @@ -54,10 +54,8 @@ Kirigami.ScrollablePage { } function onIncomingMessage(accountId, chatId, msgId) { + updateMessagelist(); console.log("Incoming message for chat " + chatId); - if (chatId == root.chatId) - root.updateMessagelist(); - } function onMessagesChanged(accountId, chatId, msgId) { |