aboutsummaryrefslogtreecommitdiff
path: root/lib/events/simplestateevents.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-11 13:18:40 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-11 13:18:40 +0900
commit9ce16ef3123d5e63b931cafefb7dba4e894fc82b (patch)
tree016937f43d78da8adb7632340b5fb49c88e04b17 /lib/events/simplestateevents.h
parent0ecc5d4992ad2086ee9e399a23f233b653b74ee3 (diff)
downloadlibquotient-9ce16ef3123d5e63b931cafefb7dba4e894fc82b.tar.gz
libquotient-9ce16ef3123d5e63b931cafefb7dba4e894fc82b.zip
Drop EventType namespace and DEFINE_EVENTTYPE_ALIAS macro
They've been deprecated for almost a year by now.
Diffstat (limited to 'lib/events/simplestateevents.h')
-rw-r--r--lib/events/simplestateevents.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/events/simplestateevents.h b/lib/events/simplestateevents.h
index 520f6b4b..eb1d2f7a 100644
--- a/lib/events/simplestateevents.h
+++ b/lib/events/simplestateevents.h
@@ -69,13 +69,9 @@ namespace EventContent {
// End of macro
DEFINE_SIMPLE_STATE_EVENT(RoomNameEvent, "m.room.name", QString, name)
-DEFINE_EVENTTYPE_ALIAS(RoomName, RoomNameEvent)
DEFINE_SIMPLE_STATE_EVENT(RoomCanonicalAliasEvent, "m.room.canonical_alias",
QString, alias)
-DEFINE_EVENTTYPE_ALIAS(RoomCanonicalAlias, RoomCanonicalAliasEvent)
DEFINE_SIMPLE_STATE_EVENT(RoomTopicEvent, "m.room.topic", QString, topic)
-DEFINE_EVENTTYPE_ALIAS(RoomTopic, RoomTopicEvent)
-DEFINE_EVENTTYPE_ALIAS(RoomEncryption, EncryptionEvent)
class RoomAliasesEvent
: public StateEvent<EventContent::SimpleContent<QStringList>> {