Skip to content

Commit d4e2a2b

Browse files
Update stream-android-core/src/main/java/io/getstream/android/core/internal/recovery/StreamConnectionRecoveryEvaluatorImpl.kt
Co-authored-by: Gianmarco <[email protected]>
1 parent d176eab commit d4e2a2b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

stream-android-core/src/main/java/io/getstream/android/core/internal/recovery/StreamConnectionRecoveryEvaluatorImpl.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ internal class StreamConnectionRecoveryEvaluatorImpl(
9494
lastConnectionState = connectionState
9595
lastLifecycleState = lifecycleState
9696
lastNetworkState = networkState
97-
if (networkState is StreamNetworkState.Available) {
98-
lastNetworkSnapshot = networkState.snapshot
99-
}
97+
lastNetworkSnapshot = connectSnapshot
10098
result
10199
}
102100
}

0 commit comments

Comments
 (0)