mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-21 03:42:55 +03:00
Fix registration with register_mxid_from_3pid enabled (#5011)
This commit is contained in:
parent
8fa09c7479
commit
b00a8d870c
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ class RegisterRestServlet(RestServlet):
|
|||
# something else went wrong.
|
||||
break
|
||||
|
||||
if self.config.register_just_use_email_for_display_name:
|
||||
if self.hs.config.register_just_use_email_for_display_name:
|
||||
desired_display_name = address
|
||||
else:
|
||||
# XXX: a nasty heuristic to turn an email address into
|
||||
|
|
Loading…
Reference in a new issue