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 bc0d1e9 commit 09547a9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/main/java/org/jitsi/jigasi/JvbConference.java
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ else if (ChatRoomMemberPresenceChangeEvent.MEMBER_UPDATED
{
gatewaySession.notifyChatRoomMemberLeft(member);
logger.info(
this.callContext + " Member left : " + member.getRole()
this.callContext + " Member left : " + member.getRole()
+ " " + member.getContactAddress());

jigasiChatRoomMembers.remove(member.getName());
Expand Down 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 09547a9

Please sign in to comment.