aboutsummaryrefslogtreecommitdiff
path: root/events/typingevent.cpp
diff options
context:
space:
mode:
authorElvis Angelaccio <elvis.angelaccio@kde.org>2017-04-17 12:09:19 +0200
committerElvis Angelaccio <elvis.angelaccio@kde.org>2017-04-17 12:09:19 +0200
commit836f35dc7d84dbd085aeae72c14120dd3994244c (patch)
tree30d98a416e069656ffe00edb9b1ee3cb0c12c005 /events/typingevent.cpp
parent1f38a992a53b71c62077803767473d1bc8a74c58 (diff)
downloadlibquotient-836f35dc7d84dbd085aeae72c14120dd3994244c.tar.gz
libquotient-836f35dc7d84dbd085aeae72c14120dd3994244c.zip
Don't discard user display names upon leave membership events
Otherwise the following QJsonObject will discard a valid display name in RoomMemberEvent::fromJson(): QJsonObject({"content":{"membership":"leave"},"event_id":"$14905359301189950PoADM:matrix.org","membership":"leave","origin_server_ts":1490535930821,"sender":"@elvisangelaccio:matrix.org","state_key":"@elvisangelaccio:matrix.org","type":"m.room.member","unsigned":{"age":1887090448,"prev_content":{"avatar_url":"mxc://matrix.org/PuDxgBQfeplXbCQFvOGpTEmC","displayname":"eang","membership":"join"},"prev_sender":"@elvisangelaccio:matrix.org","replaces_state":"$14905358091189487gXwtE:matrix.org"}})
Diffstat (limited to 'events/typingevent.cpp')
0 files changed, 0 insertions, 0 deletions