aboutsummaryrefslogtreecommitdiff
path: root/eventemitter.cpp
diff options
context:
space:
mode:
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;
}