summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2016-12-08 12:34:57 +0000
committerGitHub <noreply@github.com>2016-12-08 12:34:57 +0000
commitda13b4aa861ab1596c7a08be8fecaf15f4f9db7a (patch)
tree252fbf11b25a154cbb5e7cf5e544746b03986dc6 /synapse/storage
parentMerge pull request #1672 from williamleuschner/develop (diff)
parentFix ignored read-receipts (diff)
downloadsynapse-da13b4aa861ab1596c7a08be8fecaf15f4f9db7a.tar.xz
Merge pull request #1678 from matrix-org/rav/fix_receipt_notifications
Read-receipt fixes
Diffstat (limited to 'synapse/storage')
-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))