mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Merge pull request #5576 from matrix-org/babolivier/3pid-invite-ratelimit
Don't update the ratelimiter before sending a 3PID invite
This commit is contained in:
commit
c7ff297dde
1
changelog.d/5576.bugfix
Normal file
1
changelog.d/5576.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix a bug that would cause invited users to receive several emails for a single 3PID invite in case the inviter is rate limited.
|
@ -823,6 +823,7 @@ class RoomMemberHandler(object):
|
|||||||
"sender": user.to_string(),
|
"sender": user.to_string(),
|
||||||
"state_key": token,
|
"state_key": token,
|
||||||
},
|
},
|
||||||
|
ratelimit=False,
|
||||||
txn_id=txn_id,
|
txn_id=txn_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user