pull/1154/head
Abron 2025-02-04 16:15:43 +03:30
parent 8d244ab600
commit be1bf155fd
2 changed files with 3 additions and 3 deletions

View File

@ -329,9 +329,9 @@ export default observer(
<>
{channel.channel_type != "DirectMessage" && (
<PinIcon position="top" accent>
<div onClick={() => unhide()}>
{/* <div onClick={() => unhide()}>
<Pin size={24} />
</div>
</div> */}
</PinIcon>
)}
{!hidden && <PinBar accent position="top" >

View File

@ -857,7 +857,7 @@ export default function ContextMenus() {
action: "mark_unread",
message,
});
if (sendPermission) {
if (1 == 2) {
if (message.is_pinned && channel?.channel_type != "DirectMessage") {