From 16df40331b6d3e172db2320aaa12cebfc54f2c16 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 21 Apr 2021 17:26:10 +0200 Subject: [PATCH] fix refactor mistake in sync --- src/matrix/Sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/Sync.js b/src/matrix/Sync.js index 8b81d18e..9fb57948 100644 --- a/src/matrix/Sync.js +++ b/src/matrix/Sync.js @@ -363,7 +363,7 @@ export class Sync { return roomStates; } - _parseInvites(invites, roomsSection) { + _parseInvites(roomsSection) { const inviteStates = []; if (roomsSection.invite) { for (const [roomId, roomResponse] of Object.entries(roomsSection.invite)) {