summary refs log tree commit diff
path: root/synapse/push
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-01-15 16:17:21 +0000
committerDavid Baker <dave@matrix.org>2015-01-15 16:17:21 +0000
commite3e2fc3255665ac888f3e0c0c6e2be39d5fda5f3 (patch)
treec8c94aa48edb27717b8737ac1af734d19db15a7a /synapse/push
parentHonour the 'rejected' return from push gateways (diff)
downloadsynapse-e3e2fc3255665ac888f3e0c0c6e2be39d5fda5f3.tar.xz
Don't make the pushers' event streams cause people to appear online
Diffstat (limited to 'synapse/push')
-rw-r--r--synapse/push/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py
index 839f666390..9cf996fb80 100644
--- a/synapse/push/__init__.py
+++ b/synapse/push/__init__.py
@@ -81,7 +81,9 @@ class Pusher(object):
             from_tok = StreamToken.from_string(self.last_token)
             config = PaginationConfig(from_token=from_tok, limit='1')
             chunk = yield self.evStreamHandler.get_stream(
-                self.user_name, config, timeout=100*365*24*60*60*1000)
+                self.user_name, config,
+                timeout=100*365*24*60*60*1000, affect_presence=False
+            )
 
             # limiting to 1 may get 1 event plus 1 presence event, so
             # pick out the actual event