aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/room.cpp b/room.cpp
index 94b5cd29..332d6fa7 100644
--- a/room.cpp
+++ b/room.cpp
@@ -944,7 +944,7 @@ QJsonObject Room::Private::toJson() const
QJsonObject content;
content.insert("membership", QStringLiteral("join"));
content.insert("displayname", i->displayname());
- // avatar URL is not available
+ content.insert("avatar_url", i->avatarUrl().toString());
QJsonObject memberEvent;
memberEvent.insert("type", QStringLiteral("m.room.member"));