@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 == RealtimeConnection.Disconnected) {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-stream-call",
3
- "version": "0.0.68",
3
+ "version": "0.0.70",
4
4
  "description": "Uses the https://getstream.io/ SDK to implement calling in Capacitor",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",