Skip to content
Snippets Groups Projects
Unverified Commit c7ff297d authored by Brendan Abolivier's avatar Brendan Abolivier Committed by GitHub
Browse files

Merge pull request #5576 from matrix-org/babolivier/3pid-invite-ratelimit

Don't update the ratelimiter before sending a 3PID invite
parents 071150ce 15d9fc31
No related branches found
No related tags found
No related merge requests found
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(),
"state_key": token,
},
ratelimit=False,
txn_id=txn_id,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment