diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-12-08 12:06:47 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-12-08 12:11:34 +0000 |
commit | bd07a35c29ada1599d47481f994bf2c63a647cce (patch) | |
tree | 16a74b2678e6176f1d829ba59ce1e2afd40e40a1 /synapse/storage/receipts.py | |
parent | Merge pull request #1672 from williamleuschner/develop (diff) | |
download | synapse-bd07a35c29ada1599d47481f994bf2c63a647cce.tar.xz |
Fix result of insert_receipt
This should fix the absence of notifications when new receipts arrive.
Diffstat (limited to 'synapse/storage/receipts.py')
-rw-r--r-- | synapse/storage/receipts.py | 2 |
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)) |