This commit is contained in:
Bruno Windels 2020-09-08 14:39:33 +02:00
parent 1aa044667c
commit 5e65eb10ef

View File

@ -162,6 +162,11 @@ export class Room extends EventEmitter {
}; };
} }
/**
* @package
* Called with the changes returned from `writeSync` to apply them and emit changes.
* No storage or network operations should be done here.
*/
/** @package */ /** @package */
afterSync({summaryChanges, newTimelineEntries, newLiveKey, removedPendingEvents, memberChanges, heroChanges}) { afterSync({summaryChanges, newTimelineEntries, newLiveKey, removedPendingEvents, memberChanges, heroChanges}) {
this._syncWriter.afterSync(newLiveKey); this._syncWriter.afterSync(newLiveKey);