diff options
author | link2xt <link2xt@testrun.org> | 2021-03-16 04:10:10 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-03-19 03:13:33 +0300 |
commit | 415e70dc80058fed522f5e5d4db1cb53ab44b01c (patch) | |
tree | 90461036c115212676f232cc8f970a58baae8359 /qml | |
parent | 3158d4ce95cf8e8a1884cf795de41bee16bef3d5 (diff) | |
download | kdeltachat-415e70dc80058fed522f5e5d4db1cb53ab44b01c.tar.gz kdeltachat-415e70dc80058fed522f5e5d4db1cb53ab44b01c.zip |
ChatPage: specify onIncomingMessage argument
Otherwise chatId is compared to itself
Diffstat (limited to 'qml')
-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 e084efe..d0b0318 100644 --- a/qml/ChatPage.qml +++ b/qml/ChatPage.qml @@ -61,7 +61,7 @@ Kirigami.ScrollablePage { function onChatModified() { console.log("CHAT MODIFIED!") } - function onIncomingMessage() { + function onIncomingMessage(accountId, chatId, msgId) { console.log("Incoming message for chat " + chatId) if (chatId == chatPage.chatId) { |