Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5577 from matrix-org/babolivier/3pid-invite-ratel…
Browse files Browse the repository at this point in the history
…imit

Port #5576 to dinsic
  • Loading branch information
babolivier authored Jun 28, 2019
2 parents ee0ee97 + a7a8bbf commit 78b737f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/5576.bugfix
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions synapse/handlers/room_member.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,7 @@ def _make_and_store_3pid_invite(
"sender": user.to_string(),
"state_key": token,
},
ratelimit=False,
txn_id=txn_id,
)

Expand Down

0 comments on commit 78b737f

Please sign in to comment.