@capgo/capacitor-stream-call 0.0.68 → 0.0.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -844,7 +844,7 @@ public class StreamCallPlugin : Plugin() {
|
|
|
844
844
|
|
|
845
845
|
if (activeCall != null && activeCall.cid == callId) {
|
|
846
846
|
val connectionState = activeCall.state.connection.value
|
|
847
|
-
if (connectionState
|
|
847
|
+
if (connectionState != RealtimeConnection.Disconnected) {
|
|
848
848
|
val total = activeCall.state.participantCounts.value?.total
|
|
849
849
|
android.util.Log.d("StreamCallPlugin", "CallSessionParticipantLeftEvent: Participant left, remaining: $total");
|
|
850
850
|
if (total != null && total <= 2) {
|
package/package.json
CHANGED