diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2020-10-09 13:46:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 13:46:36 +0100 |
commit | 66ac4b1e34193f5aadfbe1966427093fde09befb (patch) | |
tree | 1c56a1deb23cb8af14ac21fbdb0345ff93d79224 /synapse/handlers/initial_sync.py | |
parent | Only send RDATA for instance local events. (#8496) (diff) | |
download | synapse-66ac4b1e34193f5aadfbe1966427093fde09befb.tar.xz |
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.
Diffstat (limited to 'synapse/handlers/initial_sync.py')
0 files changed, 0 insertions, 0 deletions