فهرست منبع

Fix the check if user joined on another device

Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling 3 سال پیش
والد
کامیت
b9bf035bbc
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/src/gplay/java/com/nextcloud/talk/services/firebase/MagicFirebaseMessagingService.kt

+ 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