diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-02 14:19:22 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-02 14:19:22 +0100 |
commit | b96c6c3185158fb0ed429cff50b8bfec105e99df (patch) | |
tree | 92de262131fa51707860ba674ce754e622badf93 | |
parent | Merge pull request #1063 from matrix-org/erikj/pull_out_ids_only (diff) | |
download | synapse-b96c6c3185158fb0ed429cff50b8bfec105e99df.tar.xz |
Docstrings
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/federation.py | 4 |
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( |