Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(chat): disable reactions for reaction messages (#16425)

Calinteodor50e24581249d
diff --git a/react/features/chat/components/web/Chat.tsx b/react/features/chat/components/web/Chat.tsx
index 6f6c4a3840..df2b77a0f2 100644
--- a/react/features/chat/components/web/Chat.tsx
+++ b/react/features/chat/components/web/Chat.tsx
@@ -78,32 +78,6 @@ interface IProps extends AbstractProps {
*/
_nbUnreadPolls: number;
- /**
- * Function to send a text message.
- *
- * @protected
- */
- _onSendMessage: Function;
-
- /**
- * Function to toggle the chat window.
- */
- _onToggleChat: Function;
-
- /**
- * Function to display the chat tab.
- *
- * @protected
- */
- _onToggleChatTab: Function;
-
- /**
- * Function to display the polls tab.
- *
- * @protected
- */
- _onTogglePollsTab: Function;
-
/**
* Whether or not to block chat access with a nickname input form.
*/
@@ -244,10 +218,6 @@ const Chat = ({
_messages,
_nbUnreadMessages,
_nbUnreadPolls,
- _onSendMessage,
- _onToggleChat,
- _onToggleChatTab,
- _onTogglePollsTab,
_showNamePrompt,
_width,
dispatch,
diff --git a/react/features/chat/components/web/ChatMessage.tsx b/react/features/chat/components/web/ChatMessage.tsx
index 9bbfd4ea28..198aedc0c3 100644
--- a/react/features/chat/components/web/ChatMessage.tsx
+++ b/react/features/chat/components/web/ChatMessage.tsx
@@ -387,7 +387,8 @@ const ChatMessage = ({
</div>
{shouldDisplayMenuOnRight && (
<div className = { classes.sideBySideContainer }>
- {!message.privateMessage && !message.lobbyChat && <div>
+ {!message.privateMessage && !message.lobbyChat
+ && !message.isReaction && <div>
<div className = { classes.optionsButtonContainer }>
{isHovered && <ReactButton
messageId = { message.messageId }