Parcourir la source

Merge pull request #1444 from nextcloud/bugfix/noid/fix-joined-on-another-device

Fix the check if user joined on another device
Marcel Hibbe il y a 3 ans
Parent
commit
9f8e9b2f83

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

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