diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-02-23 11:16:10 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-02-24 19:43:58 +0900 |
commit | c12f5cc213ecbb40c506e304e6b41c1437ca0d33 (patch) | |
tree | 6a836272233fd218d9087df91dfc619196dfc46c /avatar.h | |
parent | 2c095d29b96393dcfa3121c8cb9f4c4fd4f88d6a (diff) | |
download | libquotient-c12f5cc213ecbb40c506e304e6b41c1437ca0d33.tar.gz libquotient-c12f5cc213ecbb40c506e304e6b41c1437ca0d33.zip |
Support per-room user traits
User::Private stores two new maps (for display names and avatars respectively) and is able to retrieve and store names/avatars on a per-room basis. The "most used" trait is stored separately and room lists are not kept for it (because most people have a single name and a single avatar across all or most rooms).
TODO: The avatar container should be replaced with something less clumsy; the current code doesn't even compile with MSVC. A "handle" copyable structure that would hold the Avatar is one of options.
Closes #141.
Diffstat (limited to 'avatar.h')
0 files changed, 0 insertions, 0 deletions