summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-06-28 15:17:15 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-06-28 17:44:28 +0100
commit7c644198c8562c3d872d178be5f3520e7d8d01bc (patch)
tree0d4c36c547374b5e7eaf8771d11a8f89d64e04a6 /synapse/api/constants.py
parentAdd test case for #5574 (diff)
downloadsynapse-7c644198c8562c3d872d178be5f3520e7d8d01bc.tar.xz
Don't update the ratelimiter before sending a 3PID invite
This would cause emails being sent, but Synapse responding with a 429 when creating the event. The client would then retry, and with bad timing the same scenario would happen again. Some testing I did ended up sending me 10 emails for one single invite because of this.
Diffstat (limited to 'synapse/api/constants.py')
0 files changed, 0 insertions, 0 deletions