fix(sidebar): handle channel as muted if 'none'

This commit is contained in:
Paul
2021-11-04 13:42:46 +00:00
parent f25399b238
commit f88894b377

View File

@@ -95,7 +95,7 @@ const ServerSidebar = observer((props: Props) => {
if (!entry) return; if (!entry) return;
const active = channel?._id === entry._id; const active = channel?._id === entry._id;
const muted = props.notifications[id] === "muted"; const muted = props.notifications[id] === "none";
return ( return (
<ConditionalLink <ConditionalLink