aboutsummaryrefslogtreecommitdiff
path: root/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'room.cpp')
-rw-r--r--room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/room.cpp b/room.cpp
index 53a6b160..4f58e393 100644
--- a/room.cpp
+++ b/room.cpp
@@ -995,7 +995,7 @@ QJsonObject Room::Private::toJson() const
appendEventJson(stateEvents, "m.room.name", "name", name);
appendEventJson(stateEvents, "m.room.topic", "topic", topic);
- appendEventJson(stateEvents, "m.room.avatar", "avatar_url",
+ appendEventJson(stateEvents, "m.room.avatar", "url",
avatar.url().toString());
appendEventJson(stateEvents, "m.room.aliases", "aliases",
QJsonArray::fromStringList(aliases));