diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2021-01-12 19:26:34 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2021-01-12 19:26:34 +0100 |
commit | 7ac0bf044e521be4043c0b545d42323e2f9101a4 (patch) | |
tree | 92b9f527b8f6d8f59acd5163e1b6b7a5eafa634f /gtad/preamble.mustache | |
parent | 0990ab8121002e1613ac68558e07c74855370713 (diff) | |
download | libquotient-7ac0bf044e521be4043c0b545d42323e2f9101a4.tar.gz libquotient-7ac0bf044e521be4043c0b545d42323e2f9101a4.zip |
EventItemBase: Allow adding custom data
A new field of std::any type is added that allows clients to "annotate"
any event item with arbitrary kind of data. This is mainly intended so
that clients could calculate certain information about the item (e.g.
special formatting depending on the event contents, or position) without
having to calculate this information every time it is visualised.
In case of Quaternion, the idea is to calculate the "spamminess" of
the event basing on the past activity of a given user in this room -
calculating it upon displaying each event is extremely heavyweight.
Diffstat (limited to 'gtad/preamble.mustache')
0 files changed, 0 insertions, 0 deletions