diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-18 15:50:41 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-18 15:50:41 +0100 |
commit | fc26275bb34206f48d70c7effcbc6f5d0bf86ecb (patch) | |
tree | bb092c3bf3ed25a0e0a3f11f5966e94487e9c008 /synapse/federation/handler.py | |
parent | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor (diff) | |
download | synapse-fc26275bb34206f48d70c7effcbc6f5d0bf86ecb.tar.xz |
Add two different columns for ordering the events table, one which can be used for pagination and one which can be as tokens for notifying clients. Also add a 'processed' field which is currently always set to True
Diffstat (limited to 'synapse/federation/handler.py')
-rw-r--r-- | synapse/federation/handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/handler.py b/synapse/federation/handler.py index 580e591aca..68243d31d0 100644 --- a/synapse/federation/handler.py +++ b/synapse/federation/handler.py @@ -63,7 +63,7 @@ class FederationEventHandler(object): Deferred: Resolved when it has successfully been queued for processing. """ - yield self._fill_out_prev_events(event) + yield self.fill_out_prev_events(event) pdu = self.pdu_codec.pdu_from_event(event) @@ -129,7 +129,7 @@ class FederationEventHandler(object): yield self.event_handler.on_receive(new_state_event) @defer.inlineCallbacks - def _fill_out_prev_events(self, event): + def fill_out_prev_events(self, event): if hasattr(event, "prev_events"): return |