Fix result of insert_receipt

This should fix the absence of notifications when new receipts arrive.
pull/4/merge
Richard van der Hoff 8 years ago
parent 0d81e26769
commit bd07a35c29
  1. 2
      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))

Loading…
Cancel
Save