mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
Merge pull request #1444 from nextcloud/bugfix/noid/fix-joined-on-another-device
Fix the check if user joined on another device
This commit is contained in:
commit
9f8e9b2f83
@ -326,7 +326,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) {
|
||||||
if (participant.userId == signatureVerification.userEntity.userId) {
|
if (participant.userId == signatureVerification.userEntity.userId) {
|
||||||
inCallOnDifferentDevice = true
|
inCallOnDifferentDevice = true
|
||||||
|
Loading…
Reference in New Issue
Block a user