We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5052d03 commit fe08bd7Copy full SHA for fe08bd7
package/src/components/MessageInput/MessageInput.tsx
@@ -1165,7 +1165,7 @@ export const MessageInput = <
1165
* Disable the message input if the channel is frozen, or the user doesn't have the capability to send a message.
1166
* Enable it in frozen mode, if it the input has editing state.
1167
*/
1168
- if (!editing && disabled && !ownCapabilities.sendMessage && SendMessageDisallowedIndicator) {
+ if ((disabled || !ownCapabilities.sendMessage) && !editing && SendMessageDisallowedIndicator) {
1169
return <SendMessageDisallowedIndicator />;
1170
}
1171
0 commit comments