summary refs log tree commit diff
path: root/synapse/handlers/register.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-06-17 19:18:53 +0100
committerMark Haines <mark.haines@matrix.org>2016-06-17 19:18:53 +0100
commit0c13d45522c5c8c0b68322498a220969eb894ad5 (patch)
tree47d2f72991dd8f4ed9560b1a0bbb0947d8db6542 /synapse/handlers/register.py
parentRemove registered_users from the distributor. (diff)
downloadsynapse-0c13d45522c5c8c0b68322498a220969eb894ad5.tar.xz
Add a comment on why we don't create a profile for upgrading users
Diffstat (limited to '')
-rw-r--r--synapse/handlers/register.py1
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
                 ),
             )