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

hide pin
pull/1154/head
teamabron 2025-02-04 16:16:26 +03:30 committed by GitHub
commit 6ea40a4411
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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") {