mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 21:04:56 -04:00
Ensure emails are canonicalized before fetching associated user. (#11547)
This should fix pushers with an email in non-canonical form is used as the pushkey.
This commit is contained in:
parent
3b8872299a
commit
9562f0c2f1
5 changed files with 11 additions and 4 deletions
|
@ -856,7 +856,8 @@ class RegistrationWorkerStore(CacheInvalidationWorkerStore):
|
|||
|
||||
Args:
|
||||
medium: threepid medium e.g. email
|
||||
address: threepid address e.g. me@example.com
|
||||
address: threepid address e.g. me@example.com. This must already be
|
||||
in canonical form.
|
||||
|
||||
Returns:
|
||||
The user ID or None if no user id/threepid mapping exists
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue