aboutsummaryrefslogtreecommitdiff
path: root/lib/events
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events')
-rw-r--r--lib/events/simplestateevents.h4
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>>
{