Closed SamuelWei closed 3 years ago
Btw at the prototype fund there is a project which tries to create an alternative for scalelite: https://prototypefund.de/project/b3scale/
@sualko Thanks for your quick feedback!
Would you prefer that?
if ( $this->getMessageKey() !== 'noMeetings' && isset($this->rawXml->meetings)) {
foreach ($this->rawXml->meetings->children() as $meetingXml) {
$this->meetings[] = new Meeting($meetingXml);
}
}
I have heard about b3scale, but haven't used it yet. I know that h_da is also building a scalelite/greenlight alternative bbb@scale (django) and we at THM are building a scalelite/greenlight alternative as well https://github.com/THM-Health/PILOS (laravel/vue js). As an other department used scalelite I wanted to add it but noticed this error.
Would you prefer that?
From my point of view it's not important to check the message key at all. If there are children, than we should show them to the user and if not, than not. But yea that's better, at least for me.
Fixes #61 by checking if 'getMeetings' response has 'noMeetings' 'messageKey' before extracting the meetings from the response