aboutsummaryrefslogtreecommitdiff
path: root/logging.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-27 15:19:07 +0300
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-27 15:19:07 +0300
commit0fb7adfcaa5dffee4efd0a34a2a4fd655fe5c709 (patch)
tree5d05f339f5fa5eea4bae44633190cbc5666558a5 /logging.h
parentc287d335da0d2ae6609dd090d45a89c6b8974af0 (diff)
downloadlibquotient-0fb7adfcaa5dffee4efd0a34a2a4fd655fe5c709.tar.gz
libquotient-0fb7adfcaa5dffee4efd0a34a2a4fd655fe5c709.zip
Support m.room.avatar events
The events are detected in /sync output, and avatars for rooms are loaded from respective URLs. Clients can use Room::avatar() method to request a pixmap of a certain size, and react to avatarChanged() in order to update the UI when new pixmaps/avatars arrive. avatarChanged() signal is overloaded with two tasks - the first firing merely indicates that a new avatar is available (without actual pixmap yet available) while the second firing means that an actual pixmap has arrived (all this is entirely transparent for clients, they just should update their pixmaps from Room::avatar() every time when Room::avatarChanged() is emitted).
Diffstat (limited to 'logging.h')
0 files changed, 0 insertions, 0 deletions