aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roompowerlevelsevent.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-14 20:01:36 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-11-14 20:01:36 +0100
commit8f4c7f67930be402836ca7a6266ba4277266a12d (patch)
tree23189fa6955374d91a1e2ad0aec15018c1a0c192 /lib/events/roompowerlevelsevent.h
parentda4bc5afcfeb9e7fa1253720839291194578bd4a (diff)
downloadlibquotient-8f4c7f67930be402836ca7a6266ba4277266a12d.tar.gz
libquotient-8f4c7f67930be402836ca7a6266ba4277266a12d.zip
Drop EventFactory<RoomPowerLevelsEvent>
RoomPowerLevelsEvent is not used in csapi/ classes so the factory is of no use either.
Diffstat (limited to 'lib/events/roompowerlevelsevent.h')
-rw-r--r--lib/events/roompowerlevelsevent.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/events/roompowerlevelsevent.h b/lib/events/roompowerlevelsevent.h
index f0f7207f..b832230e 100644
--- a/lib/events/roompowerlevelsevent.h
+++ b/lib/events/roompowerlevelsevent.h
@@ -62,15 +62,5 @@ public:
private:
};
-template <>
-class EventFactory<RoomPowerLevelsEvent> {
-public:
- static event_ptr_tt<RoomPowerLevelsEvent> make(const QJsonObject& json,
- const QString&)
- {
- return makeEvent<RoomPowerLevelsEvent>(json);
- }
-};
-
REGISTER_EVENT_TYPE(RoomPowerLevelsEvent)
} // namespace Quotient