From a7457b5bdfe55f71818a93f8adb4fceacd1529c4 Mon Sep 17 00:00:00 2001 From: talksik Date: Sun, 2 Jan 2022 00:08:42 -0800 Subject: [PATCH] Update ConvoViewModel.swift --- nirvana-ios/Views/Convos/ConvoViewModel.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/nirvana-ios/Views/Convos/ConvoViewModel.swift b/nirvana-ios/Views/Convos/ConvoViewModel.swift index bad901d..f8766e9 100644 --- a/nirvana-ios/Views/Convos/ConvoViewModel.swift +++ b/nirvana-ios/Views/Convos/ConvoViewModel.swift @@ -149,6 +149,7 @@ class ConvoViewModel: NSObject, ObservableObject { } // if convo receiver is me and I'm not in a call or this call already, then join in + // TODO: this still triggers when I am the receiver but leaving early in a three way call if convo!.receiverUserId == userId && !(self?.isInCall())! && convo!.secondToLastUserEndedTimestamp == nil { print("I am the direct receiver...joining convo")