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 50faae3e..65cf2d2a 100644
--- a/room.cpp
+++ b/room.cpp
@@ -969,7 +969,7 @@ QJsonObject Room::Private::toJson() const
{
QJsonObject content;
content.insert("membership", QStringLiteral("join"));
- content.insert("displayname", i->displayname());
+ content.insert("displayname", i->name());
content.insert("avatar_url", i->avatarUrl().toString());
QJsonObject memberEvent;