matridge.reactions¶
Classes¶
To avoid fetching history on each matrix reaction event, we store the |
Module Contents¶
- class matridge.reactions.ReactionCache(client)[source]¶
To avoid fetching history on each matrix reaction event, we store the “reaction state” per sender per message.
This is because matrix reaction events are atomic, unlike XMPP reactions which contain the full state in each event.
- Parameters:
client (matridge.matrix.Client)