mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
fix double negative
This commit is contained in:
parent
6372dff771
commit
9f2fd29c14
@ -170,7 +170,7 @@ class RegistrationHandler(BaseHandler):
|
|||||||
admin=admin,
|
admin=admin,
|
||||||
)
|
)
|
||||||
|
|
||||||
if display_name is not None:
|
if display_name is None:
|
||||||
display_name = (
|
display_name = (
|
||||||
# If the user was a guest then they already have a profile
|
# If the user was a guest then they already have a profile
|
||||||
None if was_guest else user.localpart
|
None if was_guest else user.localpart
|
||||||
|
Loading…
Reference in New Issue
Block a user