summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-12-08 12:06:47 +0000
committerRichard van der Hoff <richard@matrix.org>2016-12-08 12:11:34 +0000
commitbd07a35c29ada1599d47481f994bf2c63a647cce (patch)
tree16a74b2678e6176f1d829ba59ce1e2afd40e40a1 /synapse/storage
parentMerge pull request #1672 from williamleuschner/develop (diff)
downloadsynapse-bd07a35c29ada1599d47481f994bf2c63a647cce.tar.xz
Fix result of insert_receipt
This should fix the absence of notifications when new receipts arrive.
Diffstat (limited to '')
-rw-r--r--synapse/storage/receipts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/receipts.py b/synapse/storage/receipts.py
index 9747a04a9a..f72d15f5ed 100644
--- a/synapse/storage/receipts.py
+++ b/synapse/storage/receipts.py
@@ -405,7 +405,7 @@ class ReceiptsStore(SQLBaseStore):
             room_id, receipt_type, user_id, event_ids, data
         )
 
-        max_persisted_id = self._stream_id_gen.get_current_token()
+        max_persisted_id = self._receipts_id_gen.get_current_token()
 
         defer.returnValue((stream_id, max_persisted_id))