diff options
-rw-r--r-- | lib/room.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 06f3490c..c5367047 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -1640,7 +1640,8 @@ void Room::setCanonicalAlias(const QString& newAlias) void Room::setLocalAliases(const QStringList& aliases) { - d->requestSetState(RoomAliasesEvent(aliases)); + d->requestSetState(connection()->homeserver().authority(), + RoomAliasesEvent(aliases)); } void Room::setTopic(const QString& newTopic) |