diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-27 16:11:38 +0300 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-27 16:11:38 +0300 |
commit | 8214e671ec0e0df90f0b7cfa0304f0b6ac99d189 (patch) | |
tree | 74ef603a9c896906a901f2525e9bec4af435c78e | |
parent | 0fb7adfcaa5dffee4efd0a34a2a4fd655fe5c709 (diff) | |
download | libquotient-8214e671ec0e0df90f0b7cfa0304f0b6ac99d189.tar.gz libquotient-8214e671ec0e0df90f0b7cfa0304f0b6ac99d189.zip |
Fix room avatars getting lost after restarting Quaternion
-rw-r--r-- | room.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |