aboutsummaryrefslogtreecommitdiff
path: root/lib/events/simplestateevents.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-01-01 13:35:52 +0100
committerGitHub <noreply@github.com>2022-01-01 13:35:52 +0100
commit527c3764bb9ec36aaab46b1ef4dfdd512828ff2c (patch)
tree7ad96dfeb263d97fb62fecb74664cf7115d6f3fd /lib/events/simplestateevents.h
parent3150fd8efd1d39dbcb836a9d9dbf2bd139ff1418 (diff)
parent783d83012551df128d044382f6dd2047c5269700 (diff)
downloadlibquotient-527c3764bb9ec36aaab46b1ef4dfdd512828ff2c.tar.gz
libquotient-527c3764bb9ec36aaab46b1ef4dfdd512828ff2c.zip
Merge pull request #458 from arawaaa/pinned
Pinned message support
Diffstat (limited to 'lib/events/simplestateevents.h')
-rw-r--r--lib/events/simplestateevents.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/events/simplestateevents.h b/lib/events/simplestateevents.h
index 9ce78609..13597979 100644
--- a/lib/events/simplestateevents.h
+++ b/lib/events/simplestateevents.h
@@ -51,6 +51,7 @@ namespace EventContent {
DEFINE_SIMPLE_STATE_EVENT(RoomNameEvent, "m.room.name", QString, name)
DEFINE_SIMPLE_STATE_EVENT(RoomTopicEvent, "m.room.topic", QString, topic)
+DEFINE_SIMPLE_STATE_EVENT(RoomPinnedEvent, "m.room.pinned_messages", QStringList, pinnedEvents)
class [[deprecated(
"m.room.aliases events are deprecated by the Matrix spec; use"