summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-02 14:19:22 +0100
committerErik Johnston <erik@matrix.org>2016-09-02 14:19:22 +0100
commitb96c6c3185158fb0ed429cff50b8bfec105e99df (patch)
tree92de262131fa51707860ba674ce754e622badf93 /synapse/handlers
parentMerge pull request #1063 from matrix-org/erikj/pull_out_ids_only (diff)
downloadsynapse-b96c6c3185158fb0ed429cff50b8bfec105e99df.tar.xz
Docstrings
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/federation.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index fda09b21c0..6ca69e2fdf 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -1062,6 +1062,8 @@ class FederationHandler(BaseHandler):
 
     @defer.inlineCallbacks
     def get_state_for_pdu(self, room_id, event_id):
+        """Returns the state at the event. i.e. not including said event.
+        """
         yield run_on_reactor()
 
         state_groups = yield self.store.get_state_groups(
@@ -1104,6 +1106,8 @@ class FederationHandler(BaseHandler):
 
     @defer.inlineCallbacks
     def get_state_ids_for_pdu(self, room_id, event_id):
+        """Returns the state at the event. i.e. not including said event.
+        """
         yield run_on_reactor()
 
         state_groups = yield self.store.get_state_groups_ids(