diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-17 17:12:55 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-17 17:12:55 +0900 |
commit | 614917ad7c1c0beec847094369a2b3bd383562ca (patch) | |
tree | bd22c4cbe5620aa2ceda9021f7b74710f5248a49 | |
parent | c1049d374a3c6d79750c57d2e1751d440df3d8cc (diff) | |
download | libquotient-614917ad7c1c0beec847094369a2b3bd383562ca.tar.gz libquotient-614917ad7c1c0beec847094369a2b3bd383562ca.zip |
Cache the actual user name, not the display name
Display name is a calculated thing, name is received from the server.
-rw-r--r-- | room.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |