0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-25 10:24:32 +01:00
synapse/tests/module_api
Andrew Morgan 66ac4b1e34
Allow modules to create and send events into rooms (#8479)
This PR allows Synapse modules making use of the `ModuleApi` to create and send non-membership events into a room. This can useful to have modules send messages, or change power levels in a room etc. Note that they must send event through a user that's already in the room.

The non-membership event limitation is currently arbitrary, as it's another chunk of work and not necessary at the moment.
2020-10-09 13:46:36 +01:00
..
__init__.py Wrap register_device coroutine in an ensureDeferred (#7684) 2020-06-16 10:13:59 +01:00
test_api.py Allow modules to create and send events into rooms (#8479) 2020-10-09 13:46:36 +01:00