Don't show guestWaitingMessage when "anyone_can_start" is set
All checks were successful
Build & Push Docker Image / build (push) Successful in 4m14s
All checks were successful
Build & Push Docker Image / build (push) Successful in 4m14s
This commit is contained in:
@@ -89,7 +89,7 @@ export default function GuestJoin() {
|
||||
// Auto-join when meeting starts while waiting
|
||||
useEffect(() => {
|
||||
if (!prevRunningRef.current && status.running && waiting) {
|
||||
new Audio('/sounds/meeting-started.mp3').play().catch(() => {});
|
||||
new Audio('/sounds/meeting-started.mp3').play().catch(() => { });
|
||||
toast.success(t('room.guestMeetingStartedJoining'));
|
||||
joinMeeting();
|
||||
}
|
||||
@@ -295,7 +295,7 @@ export default function GuestJoin() {
|
||||
)}
|
||||
</button>
|
||||
|
||||
{!status.running && (
|
||||
{!status.running && !roomInfo?.anyone_can_start && (
|
||||
<p className="text-xs text-th-text-s text-center">
|
||||
{t('room.guestWaitingMessage')}
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user