summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-10-29 14:58:28 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-10-29 16:16:01 +0000
commitc5a25f610ab37f020038299a7e82ebb0424396ee (patch)
tree0e51fb162802dbbcdf889d0700c1f44e89982ca9 /synapse/handlers/presence.py
parentoops - fix css on desktop (diff)
downloadsynapse-c5a25f610ab37f020038299a7e82ebb0424396ee.tar.xz
Remove redundant (and incorrect) presence pagination fetching code
Diffstat (limited to '')
-rw-r--r--synapse/handlers/presence.py3
1 files changed, 0 insertions, 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