mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-31 11:32:00 +00:00
Fix the check if user joined on another device
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
e681016f70
commit
b9bf035bbc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user