summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest/client')
-rw-r--r--synapse/rest/client/v2_alpha/register.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py
index e97b9a32e9..4e872e1a8e 100644
--- a/synapse/rest/client/v2_alpha/register.py
+++ b/synapse/rest/client/v2_alpha/register.py
@@ -262,7 +262,7 @@ class RegisterRestServlet(RestServlet):
                 "Already registered user ID %r for this session",
                 registered_user_id
             )
-            # don't re-register the email address
+            # don't re-register the threepids
             add_email = False
             add_msisdn = False
         else:
@@ -420,7 +420,7 @@ class RegisterRestServlet(RestServlet):
 
     @defer.inlineCallbacks
     def _register_msisdn_threepid(self, user_id, threepid, token, bind_msisdn):
-        """Add aphone number as a 3pid identifier
+        """Add a phone number as a 3pid identifier
 
         Also optionally binds msisdn to the given user_id on the identity server