diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-08-01 08:09:40 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-04 18:42:11 +0200 |
commit | 8e58d28ca0517aeeb43c99bd97ec9ba5ada11c95 (patch) | |
tree | c29da2261c6bd210d95615544989f8a550c758a0 /lib/room.cpp | |
parent | fc6321d53f7743f7629841d02c6e28e1a3ab3f83 (diff) | |
download | libquotient-8e58d28ca0517aeeb43c99bd97ec9ba5ada11c95.tar.gz libquotient-8e58d28ca0517aeeb43c99bd97ec9ba5ada11c95.zip |
CallEventBase -> CallEvent; pack up all call events
These are small enough to comfortably reside in a single translation
unit.
Diffstat (limited to 'lib/room.cpp')
-rw-r--r-- | lib/room.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index a6617cc3..24939b55 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -35,10 +35,7 @@ #include "csapi/rooms.h" #include "csapi/tags.h" -#include "events/callanswerevent.h" -#include "events/callcandidatesevent.h" -#include "events/callhangupevent.h" -#include "events/callinviteevent.h" +#include "events/callevents.h" #include "events/encryptionevent.h" #include "events/reactionevent.h" #include "events/receiptevent.h" @@ -2916,7 +2913,7 @@ Room::Changes Room::Private::addNewMessageEvents(RoomEvents&& events) if (q->supportsCalls()) for (auto it = from; it != syncEdge(); ++it) - if (const auto* evt = it->viewAs<CallEventBase>()) + if (const auto* evt = it->viewAs<CallEvent>()) emit q->callEvent(q, evt); if (totalInserted > 0) { |