diff --git a/native/chat/multimedia-message.react.js b/native/chat/multimedia-message.react.js --- a/native/chat/multimedia-message.react.js +++ b/native/chat/multimedia-message.react.js @@ -9,7 +9,7 @@ import * as React from 'react'; import { View } from 'react-native'; -import { messageKey } from 'lib/shared/message-utils.js'; +import { isInvalidPinSource, messageKey } from 'lib/shared/message-utils.js'; import { threadHasPermission, useCanCreateSidebarFromMessage, @@ -243,10 +243,12 @@ props.item.messageInfo, ); const canTogglePins = + !isInvalidPinSource(props.item.messageInfo) && threadHasPermission( props.item.threadInfo, threadPermissions.MANAGE_PINS, - ) && props.item.threadInfo.sourceMessageID !== props.item.messageInfo.id; + ) && + props.item.threadInfo.sourceMessageID !== props.item.messageInfo.id; return ( clearMarkdownContextData, [clearMarkdownContextData]);