diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-25 12:16:00 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-25 12:16:00 +0000 |
commit | a2e8eede6494502fa74f6b4bdd8694e40d969073 (patch) | |
tree | dbaf003efe427b426b6bb7473d6bad4dcd37c538 /synapse/handlers/federation.py | |
parent | Merge pull request #6011 from matrix-org/anoa/fix_3pid_validation (diff) | |
parent | Remove origin parameter from add_display_name_to_third_party_invite and add p... (diff) | |
download | synapse-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.py | 7 |
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) """ |