aboutsummaryrefslogtreecommitdiff
path: root/jobs
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2016-04-13 11:12:26 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2016-05-02 19:22:53 +0900
commita83eee76db60d3df327a8d8b4ebf6158a2a6f033 (patch)
treefb5ca8355153268441d4c8e0373e28d4a0e44a8d /jobs
parent0a3fab2d361b260aa280a4ac9e8a162977ec3534 (diff)
downloadlibquotient-a83eee76db60d3df327a8d8b4ebf6158a2a6f033.tar.gz
libquotient-a83eee76db60d3df327a8d8b4ebf6158a2a6f033.zip
Calculate room displayname according to CS spec, with a new signal fired on a displayname update.
This changes the way displayname is supplied to a client application - instead of calculating immediately, displayname becomes a separate stored value that is refreshed with every change of the list of members, or the name, or the canonical alias. displaynameChanged signal is supplied to subscribe to these updates: in case of displaying a room in the roomlist a client should use this new signal instead of Room::namesChanged. The displaname calculation algorithm is described in section 11.2.2.5 of the CS spec: https://matrix.org/docs/spec/r0.0.1/client_server.html#calculating-the-display-name-for-a-room
Diffstat (limited to 'jobs')
0 files changed, 0 insertions, 0 deletions