-
Notifications
You must be signed in to change notification settings - Fork 363
Check for meetingId conflicts #1233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
bgrozev
commented
Jun 25, 2025
- log: Remove meeting_id when resetting log context.
- chore: Update jitsi-xmpp-extensions.
- fix: Consider blank string from MUC form as unset meeting_id.
- chore: Fix warnings.
|
|
||
| ChatRoomInfo chatRoomInfo = chatRoom.join(); | ||
| if (chatRoomInfo.getMeetingId() == null) | ||
| if (org.apache.commons.lang3.StringUtils.isBlank(chatRoomInfo.getMeetingId())) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this not be imported?
| /** | ||
| * Selects a visitor node for a new participant, and joins the associated chat room if not already joined | ||
| * @return | ||
| * @return the ID of the selected node, or null if the endpoint is to be sent to the main room. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Annotate return type with @Nullable?
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1233 +/- ##
============================================
- Coverage 26.45% 26.45% -0.01%
- Complexity 464 465 +1
============================================
Files 127 127
Lines 8410 8429 +19
Branches 1183 1185 +2
============================================
+ Hits 2225 2230 +5
- Misses 5889 5901 +12
- Partials 296 298 +2
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
| if (attempts >= 100) | ||
| if (!listener.meetingIdSet(this, meetingId)) | ||
| { | ||
| logger.error("Failed to set a unique meeting ID after 100 attempts, giving up."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is no longer doing 100 attempts, log should change
| } | ||
|
|
||
| String meetingId; | ||
| if (org.apache.commons.lang3.StringUtils.isBlank(chatRoomMeetingId)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be imported?
| /** | ||
| * Fire an event attempting to set the meeting ID for the conference. The implementation should return `false` | ||
| * in case another meeting with the same ID already exists, which will result in a new randomly generated | ||
| * meeting ID to be attempted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment should be changed now