aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-27 16:11:38 +0300
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-27 16:11:38 +0300
commit8214e671ec0e0df90f0b7cfa0304f0b6ac99d189 (patch)
tree74ef603a9c896906a901f2525e9bec4af435c78e
parent0fb7adfcaa5dffee4efd0a34a2a4fd655fe5c709 (diff)
downloadlibquotient-8214e671ec0e0df90f0b7cfa0304f0b6ac99d189.tar.gz
libquotient-8214e671ec0e0df90f0b7cfa0304f0b6ac99d189.zip
Fix room avatars getting lost after restarting Quaternion
-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));