diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-06-28 16:04:05 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-06-28 16:04:05 +0100 |
commit | 15d9fc31bd549e2b9c04f96a0d3e8938c1bdc6a5 (patch) | |
tree | 24751bfc7110517581bc8ddc6a1032233adff5d8 | |
parent | Changelog (diff) | |
download | synapse-15d9fc31bd549e2b9c04f96a0d3e8938c1bdc6a5.tar.xz |
Only ratelimit when sending the email
If we do the opposite, an event can arrive after or while sending the email and the 3PID invite event will get ratelimited.
-rw-r--r-- | synapse/handlers/room_member.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py |