From bc0d1e90967532cd2658f5553c977749ad6839d4 Mon Sep 17 00:00:00 2001 From: damencho Date: Thu, 11 Apr 2024 11:50:57 -0500 Subject: [PATCH 1/2] feat: Updates jicoco and jetty. --- pom.xml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 711ca94b3..fd4dee50a 100644 --- a/pom.xml +++ b/pom.xml @@ -22,8 +22,8 @@ 4.4.6 1.0.3 - 1.1-133-g768ef2e - 11.0.14 + 1.1-140-g8f45a9f + 11.0.20 @@ -270,16 +270,6 @@ commons-lang3 3.12.0 - - org.apache.httpcomponents - httpcore - 4.4.15 - - - org.apache.httpcomponents - httpclient - 4.5.13 - ${jitsi-desktop.groupId} From f21ca53150a13e99c627901adc3a64ed31bbbd4d Mon Sep 17 00:00:00 2001 From: damencho Date: Thu, 11 Apr 2024 11:59:22 -0500 Subject: [PATCH 2/2] fix: Fixes tests. --- src/main/java/org/jitsi/jigasi/JvbConference.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/org/jitsi/jigasi/JvbConference.java b/src/main/java/org/jitsi/jigasi/JvbConference.java index 9c608f2d9..4166d490a 100644 --- a/src/main/java/org/jitsi/jigasi/JvbConference.java +++ b/src/main/java/org/jitsi/jigasi/JvbConference.java @@ -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 @@ -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()).