You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f1bb87c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: stream-chat-android-client/src/main/java/io/getstream/chat/android/client/internal/state/sync/internal/SyncManager.kt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -405,7 +405,7 @@ internal class SyncManager(
405
405
logger.w { "[performSync] rejected (no events to emit)" }
406
406
returnSyncOutcome(syncedCids = syncedCids)
407
407
}
408
-
if (rawLastSyncAt !=null&& rawLatestEventDate !=null&&sameInstant(rawLastSyncAt, rawLatestEventDate)) {
408
+
if (sameInstant(rawLastSyncAt, rawLatestEventDate)) {
409
409
logger.w { "[performSync] rejected (rawLatestEventDate equals to rawLastSyncAt)" }
Copy file name to clipboardExpand all lines: stream-chat-android-client/src/test/java/io/getstream/chat/android/client/internal/state/internal/SyncManagerTest.kt
+33-69Lines changed: 33 additions & 69 deletions
Original file line number
Diff line number
Diff line change
@@ -178,12 +178,40 @@ internal class SyncManagerTest {
0 commit comments