summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-09-04 14:58:03 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-09-04 14:58:03 +0100
commit9f92c3e11ace1196a14393f8bf6e4eab598c6514 (patch)
tree99f20a91b8126dfbffea03b33f50a524fa5ccf9d
parentwhoops (diff)
downloadsynapse-9f92c3e11ace1196a14393f8bf6e4eab598c6514.tar.xz
Change lookup_3pid back to a private method
-rw-r--r--synapse/handlers/room_member.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index 0c434981a4..01f03ad94f 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -684,7 +684,7 @@ class RoomMemberHandler(object):
                 403, "Looking up third-party identifiers is denied from this server"
             )
 
-        invitee = yield self.lookup_3pid(id_server, medium, address, id_access_token)
+        invitee = yield self._lookup_3pid(id_server, medium, address, id_access_token)
 
         if invitee:
             yield self.update_membership(
@@ -696,7 +696,7 @@ class RoomMemberHandler(object):
             )
 
     @defer.inlineCallbacks
-    def lookup_3pid(self, id_server, medium, address, id_access_token=None):
+    def _lookup_3pid(self, id_server, medium, address, id_access_token=None):
         """Looks up a 3pid in the passed identity server.
 
         Args: