mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-08 09:55:28 +00:00
disallowed pin in directmessage
This commit is contained in:
@@ -860,7 +860,7 @@ export default function ContextMenus() {
|
||||
if (sendPermission) {
|
||||
|
||||
|
||||
if (message.is_pinned) {
|
||||
if (message.is_pinned && channel?.channel_type != "DirectMessage") {
|
||||
generateAction({
|
||||
action: "unpin_message",
|
||||
channel,
|
||||
|
||||
Reference in New Issue
Block a user