summary refs log tree commit diff
path: root/synapse/push/httppusher.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-04-07 17:09:36 +0100
committerDavid Baker <dave@matrix.org>2016-04-07 17:09:36 +0100
commite1e042f2a1bc489c922f0deccfac54572788c933 (patch)
treed85dcd79334b9ba7549c80363e92b3a708218fba /synapse/push/httppusher.py
parentpep8 (diff)
downloadsynapse-e1e042f2a1bc489c922f0deccfac54572788c933.tar.xz
Add comments on min_stream_id
saying that the min stream id won't be completely accurate all the time
Diffstat (limited to '')
-rw-r--r--synapse/push/httppusher.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py
index cc030a57a0..0a1d3817de 100644
--- a/synapse/push/httppusher.py
+++ b/synapse/push/httppusher.py
@@ -87,6 +87,8 @@ class HttpPusher(object):
 
     @defer.inlineCallbacks
     def on_new_receipts(self, min_stream_id, max_stream_id):
+        # Note that the min here shouldn't be relied upon to be accurate.
+
         # We could check the receipts are actually m.read receipts here,
         # but currently that's the only type of receipt anyway...
         badge = yield push_tools.get_badge_count(self.hs, self.user_id)