Fix result of insert_receipt

This should fix the absence of notifications when new receipts arrive.
This commit is contained in:
Richard van der Hoff 2016-12-08 12:06:47 +00:00
parent 0d81e26769
commit bd07a35c29

View file

@ -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))