Skip to content

Commit

Permalink
fix: Fixes tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Apr 11, 2024
1 parent ec479bc commit 20e6f0f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/main/java/org/jitsi/jigasi/JvbConference.java
Original file line number Diff line number Diff line change
Expand Up @@ -1965,6 +1965,12 @@ public void setLobbyEnabled(boolean value)
*/
private String getMeetingId()
{
// in case when running unittests
if (this.getConnection() == null)
{
return null;
}

if (this.meetingId == null)
{
try
Expand Down Expand Up @@ -1994,6 +2000,12 @@ private String getMeetingId()
*/
private void updateFromRoomConfiguration()
{
// in case when running unittests
if (this.getConnection() == null)
{
return;
}

try
{
DiscoverInfo info = ServiceDiscoveryManager.getInstanceFor(getConnection()).
Expand Down

0 comments on commit 20e6f0f

Please sign in to comment.