From f8bd11f07b68946b9046982996f3c1384bbc78cb Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 27 Feb 2019 23:23:09 +0100 Subject: [PATCH] doesn't need to be async for now --- src/matrix/room/summary.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix/room/summary.js b/src/matrix/room/summary.js index 7174fe2a..fb27753c 100644 --- a/src/matrix/room/summary.js +++ b/src/matrix/room/summary.js @@ -32,10 +32,10 @@ export default class RoomSummary { return this._joinCount; } - async applySync(roomResponse, membership, txn) { + applySync(roomResponse, membership, txn) { const changed = this._processSyncResponse(roomResponse, membership); if (changed) { - await this._persist(txn); + this._persist(txn); } return changed; }