Skip to content

Commit

Permalink
fix chat placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Feb 10, 2025
1 parent d27f2b4 commit 208f5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/ChatProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default () => {
opacity={(isChatActive ? chatOpacityOpened : chatOpacity) / 100}
messages={messages}
opened={isChatActive}
placeholder={forwardChat && viewerConnection ? undefined : 'Chat forwarding is not enabled in the plugin settings'}
placeholder={forwardChat || !viewerConnection ? undefined : 'Chat forwarding is not enabled in the plugin settings'}
sendMessage={(message) => {
const builtinHandled = tryHandleBuiltinCommand(message)
if (miscUiState.loadedServerIndex && (message.startsWith('/login') || message.startsWith('/register'))) {
Expand Down

0 comments on commit 208f5b7

Please sign in to comment.