diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-10-13 15:44:54 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-10-13 21:38:48 +0100 |
commit | 123711ed198bd5cf9984818f8bac1926ed1af5fa (patch) | |
tree | 0f968cac045de4dc49def2431a3aaf39719a820c /synapse/handlers/message.py | |
parent | Remove redundant calls to third_party_rules in `on_send_{join,leave}` (diff) | |
download | synapse-123711ed198bd5cf9984818f8bac1926ed1af5fa.tar.xz |
Move third_party_rules check to event creation time
Rather than waiting until we handle the event, call the ThirdPartyRules check when we fist create the event.
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py |