mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(prejoin) add unsafe room name warning
This commit is contained in:
@@ -6,6 +6,7 @@ import { IconExclamationTriangle } from '../../../base/icons/svg';
|
||||
import Label from '../../../base/label/components/web/Label';
|
||||
import { COLORS } from '../../../base/label/constants';
|
||||
import Tooltip from '../../../base/tooltip/components/Tooltip';
|
||||
import getUnsafeRoomText from '../../../base/util/getUnsafeRoomText.web';
|
||||
import AbstractInsecureRoomNameLabel, { _mapStateToProps } from '../AbstractInsecureRoomNameLabel';
|
||||
|
||||
/**
|
||||
@@ -20,7 +21,7 @@ class InsecureRoomNameLabel extends AbstractInsecureRoomNameLabel {
|
||||
_render() {
|
||||
return (
|
||||
<Tooltip
|
||||
content = { this.props.t('security.insecureRoomNameWarning') }
|
||||
content = { getUnsafeRoomText(this.props.t, 'meeting') }
|
||||
position = 'bottom'>
|
||||
<Label
|
||||
color = { COLORS.red }
|
||||
|
||||
Reference in New Issue
Block a user