Przeglądaj źródła

fix MagicFirebaseMessagingService

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 3 lat temu
rodzic
commit
981c885bfc

+ 1 - 1
app/src/gplay/java/com/nextcloud/talk/services/firebase/MagicFirebaseMessagingService.kt

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