aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/room.h b/lib/room.h
index a8275ce9..60eadacc 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -191,6 +191,7 @@ public:
QStringList altAliases() const;
QStringList aliases() const;
QString displayName() const;
+ QList<const RoomEvent*> pinnedEvents() const;
QString topic() const;
QString avatarMediaId() const;
QUrl avatarUrl() const;
@@ -566,6 +567,7 @@ public Q_SLOTS:
SetRoomStateWithKeyJob* setState(const StateEventBase& evt) const;
void setName(const QString& newName);
void setCanonicalAlias(const QString& newAlias);
+ void setPinnedMessages(const QStringList& events);
/// Set room aliases on the user's current server
void setLocalAliases(const QStringList& aliases);
void setTopic(const QString& newTopic);