exclude DirectMessage

pull/1154/head
TeamAbronDev 2025-01-26 17:26:25 +03:30
parent 0243e787dd
commit 4dfaa43c15
1 changed files with 7 additions and 10 deletions

View File

@ -325,16 +325,13 @@ export default observer(
let pinFound = false
return (
<>
<PinIcon position="top" accent>
<div
onClick={() => unhide()}
>
<Pin size={24} />
</div>
</PinIcon>
{channel.channel_type != "DirectMessage" && (
<PinIcon position="top" accent>
<div onClick={() => unhide()}>
<Pin size={24} />
</div>
</PinIcon>
)}
{!hidden && <PinBar accent position="top" >
<div>
<div