1
0
mirror of https://github.com/nextcloud/talk-android synced 2025-03-12 10:32:36 +00:00

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) { 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) {