doesn't need to be async for now

This commit is contained in:
Bruno Windels 2019-02-27 23:23:09 +01:00
parent 8462a0ac6b
commit f8bd11f07b

View file

@ -32,10 +32,10 @@ export default class RoomSummary {
return this._joinCount; return this._joinCount;
} }
async applySync(roomResponse, membership, txn) { applySync(roomResponse, membership, txn) {
const changed = this._processSyncResponse(roomResponse, membership); const changed = this._processSyncResponse(roomResponse, membership);
if (changed) { if (changed) {
await this._persist(txn); this._persist(txn);
} }
return changed; return changed;
} }