= React.memo(
}
const showHover = hasHover && !props.isInPip;
+ const canShowVideo = hasRemoteVideo && !isBlocked;
+
+ if (showBlockInfo) {
+ return (
+ {
+ setShowBlockInfo(false);
+ }}
+ title={
+
+ ,
+ ]}
+ />
+
+ }
+ actions={[
+ {
+ text: i18n('ok'),
+ action: () => {
+ setShowBlockInfo(false);
+ },
+ style: 'affirmative',
+ },
+ ]}
+ >
+ {i18n('calling__block-info')}
+
+ );
+ }
return (
= React.memo(
module="module-ongoing-call__group-call-remote-participant--contact-name"
profileName={profileName}
title={title}
- i18n={props.i18n}
+ i18n={i18n}
/>
)}
- {hasRemoteVideo ? (
+ {canShowVideo ? (