Skip to content

Commit

Permalink
Fix registration with register_mxid_from_3pid enabled (matrix-org#5011)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston authored and michaelkaye committed Apr 4, 2019
1 parent 8fa09c7 commit b00a8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/rest/client/v2_alpha/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def on_POST(self, request):
# 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
Expand Down

0 comments on commit b00a8d8

Please sign in to comment.