Merge pull request #38 from archem-team/feat/revert_pin

hide pin
This commit is contained in:
teamabron
2025-02-04 16:16:26 +03:30
committed by GitHub
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") {