diff options
author | Thomas Weston <thomasweston12@gmail.com> | 2022-07-13 11:33:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 11:33:21 +0100 |
commit | 0312ff44c69ba16371206fc42b9f886b24253bcd (patch) | |
tree | b5d5cfdec89e3313273a9a0f2ec2b11aa560b36c /synapse/rest | |
parent | Inline URL preview documentation. (#13261) (diff) | |
download | synapse-0312ff44c69ba16371206fc42b9f886b24253bcd.tar.xz |
Fix "add user" admin api error when request contains a "msisdn" threepid (#13263)
Co-authored-by: Thomas Weston <thomas.weston@clearspancloud.com> Co-authored-by: David Robertson <david.m.robertson1@gmail.com>
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/admin/users.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/admin/users.py b/synapse/rest/admin/users.py index f0614a2897..ba2f7fa6d8 100644 --- a/synapse/rest/admin/users.py +++ b/synapse/rest/admin/users.py @@ -373,6 +373,7 @@ class UserRestServletV2(RestServlet): if ( self.hs.config.email.email_enable_notifs and self.hs.config.email.email_notif_for_new_users + and medium == "email" ): await self.pusher_pool.add_pusher( user_id=user_id, |