aboutsummaryrefslogtreecommitdiff
path: root/eventemitter.cpp
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-02-23 17:35:08 +0300
committerlink2xt <link2xt@testrun.org>2021-02-23 17:35:08 +0300
commit02fa66112ff228926bd55aaf7630dfd73c298109 (patch)
tree7dc900ab3014ca83b6b9de05df7c6652659cedaf /eventemitter.cpp
parent5cc6dd5005e8f630cc80b7b3c51cf302bb08e9a0 (diff)
downloadkdeltachat-02fa66112ff228926bd55aaf7630dfd73c298109.tar.gz
kdeltachat-02fa66112ff228926bd55aaf7630dfd73c298109.zip
Mark chat as noticed when selected
Diffstat (limited to 'eventemitter.cpp')
-rw-r--r--eventemitter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/eventemitter.cpp b/eventemitter.cpp
index 2265429..b6273bd 100644
--- a/eventemitter.cpp
+++ b/eventemitter.cpp
@@ -86,6 +86,9 @@ DcAccountsEventEmitter::processEvent(DcEvent *event)
event->getData2Int());
std::cout << "Emitted incoming message!" << std::endl;
break;
+ case DC_EVENT_MSGS_NOTICED:
+ emit messagesNoticed(event->getAccountId(), event->getData1Int());
+ break;
default:
std::cout << "Not processing " << event->getId() << std::endl;
}