Brendan Abolivier 01d0f8e701
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.
2019-06-28 15:22:16 +01:00
..
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-22 11:01:55 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-27 12:02:41 +01:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-27 12:02:41 +01:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00
2019-06-20 19:32:02 +10:00