summary refs log tree commit diff
path: root/synapse/handlers/receipts.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/handlers/receipts.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 'synapse/handlers/receipts.py')
-rw-r--r--synapse/handlers/receipts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/receipts.py b/synapse/handlers/receipts.py
index 26b0368080..a390a1b8bd 100644
--- a/synapse/handlers/receipts.py
+++ b/synapse/handlers/receipts.py
@@ -111,6 +111,7 @@ class ReceiptsHandler(BaseHandler):
             self.notifier.on_new_event(
                 "receipt_key", max_batch_id, rooms=affected_room_ids
             )
+            # Note that the min here shouldn't be relied upon to be accurate.
             self.hs.get_pusherpool().on_new_receipts(
                 min_batch_id, max_batch_id, affected_room_ids
             )