diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-07-26 16:56:41 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-07-26 16:56:41 +0200 |
commit | d422b1fd87c48572ae1fc162ce239196e3254752 (patch) | |
tree | d555ade01e1bb1a6e1c2d01ca5627330bbe22e4b /lib | |
parent | a329538c617bad01ffd35a83a0b684f90993dd0d (diff) | |
download | libquotient-d422b1fd87c48572ae1fc162ce239196e3254752.tar.gz libquotient-d422b1fd87c48572ae1fc162ce239196e3254752.zip |
Hopefully fix building with GCC
The last commit broke it.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/events/simplestateevents.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/events/simplestateevents.h b/lib/events/simplestateevents.h index 43c1da69..c6b91931 100644 --- a/lib/events/simplestateevents.h +++ b/lib/events/simplestateevents.h @@ -34,10 +34,10 @@ DEFINE_SIMPLE_STATE_EVENT(RoomPinnedEvent, "m.room.pinned_messages", QStringList, pinnedEvents) constexpr auto RoomAliasesEventKey = "aliases"_ls; -class QUOTIENT_API [[deprecated( +class [[deprecated( "m.room.aliases events are deprecated by the Matrix spec; use" " RoomCanonicalAliasEvent::altAliases() to get non-authoritative aliases")]] // -RoomAliasesEvent +QUOTIENT_API RoomAliasesEvent : public StateEvent< EventContent::SingleKeyValue<QStringList, &RoomAliasesEventKey>> { |