Fix for hideUnusedParticipants

This commit is contained in:
Knut Sveidqvist
2022-04-28 18:45:18 +02:00
parent 90a631cdad
commit d914e23626
5 changed files with 25 additions and 68 deletions

View File

@@ -461,7 +461,7 @@ export const drawActors = function (
newActors.add(message.from);
newActors.add(message.to);
});
actorKeys = actorKeys.filter((actorKey) => newActors.includes(actorKey));
actorKeys = actorKeys.filter((actorKey) => newActors.has(actorKey));
}
// Draw the actors