From 998d0181e7432cce92e5ee71664c00d04032ff40 Mon Sep 17 00:00:00 2001 From: Smriti Doneria Date: Sat, 21 Dec 2024 13:34:22 +0530 Subject: [PATCH] fix --- packages/react/src/views/Message/MessageToolbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/views/Message/MessageToolbox.js b/packages/react/src/views/Message/MessageToolbox.js index 55af7f64d..2954615fc 100644 --- a/packages/react/src/views/Message/MessageToolbox.js +++ b/packages/react/src/views/Message/MessageToolbox.js @@ -113,7 +113,7 @@ export const MessageToolbox = ({ id: 'pin', onClick: () => handlePinMessage(message), iconName: message.pinned ? 'pin-filled' : 'pin', - visible: !isThreadMessage && isAllowedToPin, + visible: isAllowedToPin, }, edit: { label: 'Edit',