aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatPage.qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-03-16 04:10:10 +0300
committerlink2xt <link2xt@testrun.org>2021-03-19 03:13:33 +0300
commit415e70dc80058fed522f5e5d4db1cb53ab44b01c (patch)
tree90461036c115212676f232cc8f970a58baae8359 /qml/ChatPage.qml
parent3158d4ce95cf8e8a1884cf795de41bee16bef3d5 (diff)
downloadkdeltachat-415e70dc80058fed522f5e5d4db1cb53ab44b01c.tar.gz
kdeltachat-415e70dc80058fed522f5e5d4db1cb53ab44b01c.zip
ChatPage: specify onIncomingMessage argument
Otherwise chatId is compared to itself
Diffstat (limited to 'qml/ChatPage.qml')
-rw-r--r--qml/ChatPage.qml2
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) {