mjolnir/src
Gnuxie 704bb660c2
Refactor how we listen for matrix events. (#446)
* Refactor Matrix event listener in Mjolnir and ManagedMjolnir.

closes https://github.com/matrix-org/mjolnir/issues/411.

Issue #411 says that we have to be careful about room.join,
but this was before we figured how to make matrix-appservice-bridge
echo events sent by its own intents.

* Remove MatrixClientListener since it isn't actually needed.

* Protect which config values can be used for ManagedMjolnirs.

* Introduce MatrixSendClient

so listeners aren't accidentally added to a MatrixClient instead
of MatrixEmitter.

* doc

* Move provisioned mjolnir config to src/config.

This just aids maintance so whenever someone goes to change the config
of the bot they will see this and update it.

* doc for matrix intent listener.
2022-12-06 17:17:40 +00:00
..
appservice Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
commands Missing newline and indentation in command handler help. (#445) 2022-12-05 16:56:57 +00:00
health load config yaml manually, remove more references to static config (#347) 2022-08-16 15:51:18 +01:00
models Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
protections Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
queues Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
report Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
webapis manymjolnir appservice (#364) 2022-11-15 18:03:06 +00:00
config.ts Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
ErrorCache.ts Refactor protected rooms. (#371) 2022-09-29 14:49:09 +01:00
index.ts Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
ManagementRoomOutput.ts Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
MatrixEmitter.ts Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
Mjolnir.ts Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
ProtectedRoomsConfig.ts Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
ProtectedRoomsSet.ts Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
RoomMembers.ts Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00
utils.ts Refactor how we listen for matrix events. (#446) 2022-12-06 17:17:40 +00:00