Skip to content
Snippets Groups Projects
Unverified Commit 6c67179c authored by Guilherme Gazzo's avatar Guilherme Gazzo
Browse files

[FIX] invalid user muted value

parent da3679d4
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ export const merge = (subscription, room) => { ...@@ -18,7 +18,7 @@ export const merge = (subscription, room) => {
subscription.broadcast = room.broadcast; subscription.broadcast = room.broadcast;
if (room.muted && room.muted.length) { if (room.muted && room.muted.length) {
subscription.muted = room.muted.map(user => ({ value: user })); subscription.muted = room.muted.filter(user => user).map(user => ({ value: user }));
} else { } else {
subscription.muted = []; subscription.muted = [];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment