diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-06-17 19:18:53 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-06-17 19:18:53 +0100 |
commit | 0c13d45522c5c8c0b68322498a220969eb894ad5 (patch) | |
tree | 47d2f72991dd8f4ed9560b1a0bbb0947d8db6542 /synapse | |
parent | Remove registered_users from the distributor. (diff) | |
download | synapse-0c13d45522c5c8c0b68322498a220969eb894ad5.tar.xz |
Add a comment on why we don't create a profile for upgrading users
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/register.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index 4fb12915dc..0b7517221d 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -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 ), ) |