summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-07-29 10:45:05 +0100
committerErik Johnston <erik@matrix.org>2016-07-29 10:45:05 +0100
commit3d13c3a2952263c38111fcf95d625e316416b52b (patch)
tree4e429f41f1f72df1d1ebda8fd8e06a30b1f5abd3
parentHandle the case of missing auth events when joining a room (diff)
downloadsynapse-3d13c3a2952263c38111fcf95d625e316416b52b.tar.xz
Update docstring
-rw-r--r--synapse/handlers/federation.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index cab7efb5db..9583629388 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -1160,6 +1160,12 @@ class FederationHandler(BaseHandler):
         state and event. Then persists the auth chain and state atomically.
         Persists the event seperately.
 
+        Args:
+            origin (str): Where the events came from
+            auth_events (list)
+            state (list)
+            event (Event)
+
         Returns:
             2-tuple of (event_stream_id, max_stream_id) from the persist_event
             call for `event`