summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2017-03-08 11:42:44 +0000
committerDavid Baker <dave@matrix.org>2017-03-08 11:42:44 +0000
commit82c5e7de2540a64c7a664f864983409df59d5db9 (patch)
treeb92e55c85b385eecfa0c2502223e8782904f5483
parentRefector out assert_params_in_request (diff)
downloadsynapse-82c5e7de2540a64c7a664f864983409df59d5db9.tar.xz
Typos
-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