muted channels fix from ody #7436
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export default handleActions(
|
||||||
const sanitizedBlocked = blocked && blocked.filter((e) => typeof e === 'string');
|
const sanitizedBlocked = blocked && blocked.filter((e) => typeof e === 'string');
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
blockedChannels: sanitizedBlocked && sanitizedBlocked.length ? sanitizedBlocked : state.blockedChannels,
|
blockedChannels: sanitizedBlocked || state.blockedChannels,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue