From 02fa66112ff228926bd55aaf7630dfd73c298109 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 23 Feb 2021 17:35:08 +0300 Subject: Mark chat as noticed when selected --- eventemitter.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eventemitter.cpp') 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; } -- cgit v1.2.3-70-g09d2