fix MagicFirebaseMessagingService

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-05-17 10:02:41 +02:00
parent b27096eece
commit 981c885bfc
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -294,7 +294,7 @@ class MagicFirebaseMessagingService : FirebaseMessagingService() {
}
override fun onNext(participantsOverall: ParticipantsOverall) {
val participantList: List<Participant> = participantsOverall.ocs.data
val participantList: List<Participant> = participantsOverall.ocs!!.data!!
hasParticipantsInCall = participantList.isNotEmpty()
if (hasParticipantsInCall) {
for (participant in participantList) {