Cursor focus is automatically shifted to the chat input when joining BRO
When all participants join a Breakout Room (BOR), the cursor focus is automatically shifted to the chat input field for some users without any user interaction.
Cause
ChatForm when autoFocusMessageInput is only checking for Boolean(target) so we can focus the chat form on private messages, without checking the scope.
Now breakot rooms have target too so we have to checked for scope.
Acceptence criteria
- When joining breakot room chat input field should not be auto focused
- When joining private chat input field should be auto focused