muted channels fix from ody #7436

Merged
jessopb merged 1 commit from fix-clearMuted into master 2022-01-23 19:59:40 +01:00

View file

@ -28,7 +28,7 @@ export default handleActions(
const sanitizedBlocked = blocked && blocked.filter((e) => typeof e === 'string');
return {
...state,
blockedChannels: sanitizedBlocked && sanitizedBlocked.length ? sanitizedBlocked : state.blockedChannels,
blockedChannels: sanitizedBlocked || state.blockedChannels,
};
},
},