From 5e65eb10ef3e0df34d5b4dc60357426dd4e75783 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 8 Sep 2020 14:39:33 +0200 Subject: [PATCH] docs --- src/matrix/room/Room.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/matrix/room/Room.js b/src/matrix/room/Room.js index 3c417082..8727edd9 100644 --- a/src/matrix/room/Room.js +++ b/src/matrix/room/Room.js @@ -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 */ afterSync({summaryChanges, newTimelineEntries, newLiveKey, removedPendingEvents, memberChanges, heroChanges}) { this._syncWriter.afterSync(newLiveKey);