mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
hide pin
This commit is contained in:
@@ -329,9 +329,9 @@ export default observer(
|
|||||||
<>
|
<>
|
||||||
{channel.channel_type != "DirectMessage" && (
|
{channel.channel_type != "DirectMessage" && (
|
||||||
<PinIcon position="top" accent>
|
<PinIcon position="top" accent>
|
||||||
<div onClick={() => unhide()}>
|
{/* <div onClick={() => unhide()}>
|
||||||
<Pin size={24} />
|
<Pin size={24} />
|
||||||
</div>
|
</div> */}
|
||||||
</PinIcon>
|
</PinIcon>
|
||||||
)}
|
)}
|
||||||
{!hidden && <PinBar accent position="top" >
|
{!hidden && <PinBar accent position="top" >
|
||||||
|
|||||||
@@ -857,7 +857,7 @@ export default function ContextMenus() {
|
|||||||
action: "mark_unread",
|
action: "mark_unread",
|
||||||
message,
|
message,
|
||||||
});
|
});
|
||||||
if (sendPermission) {
|
if (1 == 2) {
|
||||||
|
|
||||||
|
|
||||||
if (message.is_pinned && channel?.channel_type != "DirectMessage") {
|
if (message.is_pinned && channel?.channel_type != "DirectMessage") {
|
||||||
|
|||||||
Reference in New Issue
Block a user