aboutsummaryrefslogtreecommitdiff
path: root/lib/events
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-21 18:40:47 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-21 18:40:47 +0100
commitb989383165b648269a231d1febadc8150676d5cf (patch)
tree19a9819ea3f3dff8ff18a956f4fc6646cf377948 /lib/events
parent487e7f5ef75a5a5a4d732027d0b7705fdffb71ca (diff)
downloadlibquotient-b989383165b648269a231d1febadc8150676d5cf.tar.gz
libquotient-b989383165b648269a231d1febadc8150676d5cf.zip
Don't chain RoomEvent to Event factory any more
Objects derived from Event are not room events (in the spec sense) and never occur in the same arrays as room events; therefore this chaining has always been superfluous.
Diffstat (limited to 'lib/events')
-rw-r--r--lib/events/roomevent.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/events/roomevent.cpp b/lib/events/roomevent.cpp
index fb921af6..b728e0bf 100644
--- a/lib/events/roomevent.cpp
+++ b/lib/events/roomevent.cpp
@@ -9,9 +9,6 @@
using namespace Quotient;
-[[maybe_unused]] static auto roomEventTypeInitialised =
- Event::factory_t::chainFactory<RoomEvent>();
-
RoomEvent::RoomEvent(Type type, event_mtype_t matrixType,
const QJsonObject& contentJson)
: Event(type, matrixType, contentJson)