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