f3e5e03009
In order to resolve the conflict between local and remote read-receipts, try to give precedence to the read-receipt which refers to the most recent event. Also fix the read-receipt synthesis in _addLiveEvents so that it actually works (drop the spurious MatrixEvent wrapper), and remove the synthesis in recalculate() (which appears to be redundant).