Skip to content

Commit 7790cd6

Browse files
authored
fix: Do not redirect visitor when disabled for the room. (#1256)
1 parent a8f662f commit 7790cd6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jicofo/src/main/java/org/jitsi/jicofo/conference/JitsiMeetConferenceImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1897,7 +1897,8 @@ public String redirectVisitor(boolean visitorRequested, @Nullable String userId,
18971897
}
18981898
if (Boolean.FALSE.equals(chatRoom.getVisitorsEnabled()))
18991899
{
1900-
logger.debug("Visitors are disabled, not redirecting.");
1900+
logger.warn("Visitors are disabled, not redirecting.");
1901+
return null;
19011902
}
19021903
}
19031904
if (VisitorsConfig.config.getRequireMucConfigFlag())

0 commit comments

Comments
 (0)