mirror of
https://github.com/element-hq/synapse
synced 2024-09-06 03:00:05 +00:00
Add a comment on why we don't create a profile for upgrading users
This commit is contained in:
parent
9f1800fba8
commit
0c13d45522
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ class RegistrationHandler(BaseHandler):
|
|||
was_guest=was_guest,
|
||||
make_guest=make_guest,
|
||||
create_profile_with_localpart=(
|
||||
# If the user was a guest then they already have a profile
|
||||
None if was_guest else user.localpart
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue