summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-25 12:16:00 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-25 12:16:00 +0000
commita2e8eede6494502fa74f6b4bdd8694e40d969073 (patch)
treedbaf003efe427b426b6bb7473d6bad4dcd37c538 /synapse/handlers/federation.py
parentMerge pull request #6011 from matrix-org/anoa/fix_3pid_validation (diff)
parentRemove origin parameter from add_display_name_to_third_party_invite and add p... (diff)
downloadsynapse-a2e8eede6494502fa74f6b4bdd8694e40d969073.tar.xz
Remove origin parameter from add_display_name_to_third_party_invite and add params to docstring (#6010)
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r--synapse/handlers/federation.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 807b38eb16..d616cbf101 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -2537,12 +2537,17 @@ class FederationHandler(BaseHandler):
 
     @defer.inlineCallbacks
     @log_function
-    def on_exchange_third_party_invite_request(self, origin, room_id, event_dict):
+    def on_exchange_third_party_invite_request(self, room_id, event_dict):
         """Handle an exchange_third_party_invite request from a remote server
 
         The remote server will call this when it wants to turn a 3pid invite
         into a normal m.room.member invite.
 
+        Args:
+            room_id (str): The ID of the room.
+
+            event_dict (dict[str, Any]): Dictionary containing the event body.
+
         Returns:
             Deferred: resolves (to None)
         """