File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -211,21 +211,14 @@ public function isMeetingRunning(IsMeetingRunningParameters $meetingParams): IsM
211211 /**
212212 * Checks weather a meeting is existing.
213213 *
214- * @see https://github.com/bigbluebutton/bigbluebutton/issues/8246
215- *
216214 * @throws BadResponseException
217215 */
218216 public function isMeetingExisting (string $ meetingId ): bool
219217 {
220- $ meetings = $ this ->getMeetings ()->getMeetings ();
221-
222- foreach ($ meetings as $ meeting ) {
223- if ($ meetingId === $ meeting ->getMeetingId ()) {
224- return true ;
225- }
226- }
218+ $ getMeetingInfoParameters = new GetMeetingInfoParameters ($ meetingId );
219+ $ meetingInfoResponse = $ this ->getMeetingInfo ($ getMeetingInfoParameters );
227220
228- return false ;
221+ return $ meetingInfoResponse -> success () ;
229222 }
230223
231224 public function getMeetingsUrl (): string
You can’t perform that action at this time.
0 commit comments