fix refactor mistake in sync

This commit is contained in:
Bruno Windels 2021-04-21 17:26:10 +02:00
parent bfb7f58a3d
commit 16df40331b

View file

@ -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)) {