Open Gnuxie opened 1 year ago
This now seems to be a blocker for integrating matrix-protection-suite. The protection suite has models for room state, members and policies that need to be updated and obviously shared between draupnir instances within the appservice modes. As all protections get informed via a handleTimelineEvent
method, we are going to phase out use of the MatrixEmitter
instead even the draupnir bot mode will use the intent manager and have a wrapper over MatrixEmitter
that hooks up all the handlers to the write emitters.
Originally https://github.com/matrix-org/mjolnir/issues/412
There should be some way to emulate a syncing matrix-bot-sdk client with a
matrix-appservice-bridge
MatrixIntent
. This should preferably be implemented as something that can be contributed tomatrix-appservice-bridge
or as another package.