summary refs log tree commit diff
path: root/synapse/notifier.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-03-03 14:57:45 +0000
committerMark Haines <mark.haines@matrix.org>2016-03-03 14:57:45 +0000
commitddf9e7b3027eee61086ebfb447c5fa33e9b640fe (patch)
tree01b3fee90b76b2b028bf2d8e904f24210cd4d39f /synapse/notifier.py
parentHook push rules up to the replication API (diff)
downloadsynapse-ddf9e7b3027eee61086ebfb447c5fa33e9b640fe.tar.xz
Hook up the push rules to the notifier
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r--synapse/notifier.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py
index 3c36a20868..9b69b0333a 100644
--- a/synapse/notifier.py
+++ b/synapse/notifier.py
@@ -284,7 +284,7 @@ class Notifier(object):
 
     @defer.inlineCallbacks
     def wait_for_events(self, user_id, timeout, callback, room_ids=None,
-                        from_token=StreamToken("s0", "0", "0", "0", "0")):
+                        from_token=StreamToken.START):
         """Wait until the callback returns a non empty response or the
         timeout fires.
         """