aboutsummaryrefslogtreecommitdiff
path: root/events/event.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-02-27 11:41:09 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-24 15:06:32 +0900
commit962f7f4beb192810afe82bfd4b68613a96a69063 (patch)
tree000d3c25832b5fd33cc597898e49a7691ed81ca3 /events/event.cpp
parent4e31b0371cea6441dc4281aaa28a9b693a751454 (diff)
downloadlibquotient-962f7f4beb192810afe82bfd4b68613a96a69063.tar.gz
libquotient-962f7f4beb192810afe82bfd4b68613a96a69063.zip
Introduce DirectChatEvent (parse only, no processing yet)
Diffstat (limited to 'events/event.cpp')
-rw-r--r--events/event.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/events/event.cpp b/events/event.cpp
index f3e965e2..8ddf3945 100644
--- a/events/event.cpp
+++ b/events/event.cpp
@@ -25,6 +25,7 @@
#include "typingevent.h"
#include "receiptevent.h"
#include "accountdataevents.h"
+#include "directchatevent.h"
#include "redactionevent.h"
#include "logging.h"
@@ -88,7 +89,7 @@ EventPtr _impl::doMakeEvent<Event>(const QJsonObject& obj)
return EventPtr(move(e));
return EventPtr { makeIfMatches<Event,
- TypingEvent, ReceiptEvent, TagEvent, ReadMarkerEvent>(
+ TypingEvent, ReceiptEvent, TagEvent, ReadMarkerEvent, DirectChatEvent>(
obj, obj["type"].toString()) };
}