From c5a25f610ab37f020038299a7e82ebb0424396ee Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Wed, 29 Oct 2014 14:58:28 +0000 Subject: [PATCH] Remove redundant (and incorrect) presence pagination fetching code --- synapse/handlers/presence.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index b2af09f090..4176367643 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -849,9 +849,6 @@ class PresenceEventSource(object): # TODO(paul): limit - updates = [(k, cachemap[k]) for k in cachemap - if to_key < cachemap[k].serial < from_key] - if updates: clock = self.clock