mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-06 16:06:52 +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…
Add table
Reference in a new issue