diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2020-10-09 13:46:36 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-10-12 13:24:15 +0100 |
commit | 62c7b10ea5f85ddf5903b1136f1345a69ffdf8a1 (patch) | |
tree | 6c248c9cbfdca84f65b673b037e54442c5c65327 /synapse/config/registration.py | |
parent | Only assert valid next_link params when provided (#65) (diff) | |
download | synapse-62c7b10ea5f85ddf5903b1136f1345a69ffdf8a1.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. This commit has been cherry-picked from mainline.
Diffstat (limited to 'synapse/config/registration.py')
0 files changed, 0 insertions, 0 deletions