aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-26 17:18:36 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-26 17:18:36 +0200
commit7754947d7f758ddcb31d4ff3ea79435fb1c171e9 (patch)
tree2e6c55c4abf46c7896a4f34735445a2d6c318955 /lib
parentd422b1fd87c48572ae1fc162ce239196e3254752 (diff)
downloadlibquotient-7754947d7f758ddcb31d4ff3ea79435fb1c171e9.tar.gz
libquotient-7754947d7f758ddcb31d4ff3ea79435fb1c171e9.zip
Another fix attempt
Diffstat (limited to 'lib')
-rw-r--r--lib/events/simplestateevents.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/events/simplestateevents.h b/lib/events/simplestateevents.h
index c6b91931..46e1b3a7 100644
--- a/lib/events/simplestateevents.h
+++ b/lib/events/simplestateevents.h
@@ -34,13 +34,12 @@ DEFINE_SIMPLE_STATE_EVENT(RoomPinnedEvent, "m.room.pinned_messages",
QStringList, pinnedEvents)
constexpr auto RoomAliasesEventKey = "aliases"_ls;
-class [[deprecated(
+class Q_DECL_DEPRECATED_X(
"m.room.aliases events are deprecated by the Matrix spec; use"
- " RoomCanonicalAliasEvent::altAliases() to get non-authoritative aliases")]] //
-QUOTIENT_API RoomAliasesEvent
+ " RoomCanonicalAliasEvent::altAliases() to get non-authoritative aliases")
+ QUOTIENT_API RoomAliasesEvent
: public StateEvent<
- EventContent::SingleKeyValue<QStringList, &RoomAliasesEventKey>>
-{
+ EventContent::SingleKeyValue<QStringList, &RoomAliasesEventKey>> {
public:
DEFINE_EVENT_TYPEID("m.room.aliases", RoomAliasesEvent)
explicit RoomAliasesEvent(const QJsonObject& obj)