Also record next_batch
This commit is contained in:
parent
6eae151e78
commit
7997435003
@ -163,7 +163,10 @@ internal class DefaultSyncTask @Inject constructor(
|
|||||||
}
|
}
|
||||||
val nbRooms = syncResponse.rooms?.invite.orEmpty().size + syncResponse.rooms?.join.orEmpty().size + syncResponse.rooms?.leave.orEmpty().size
|
val nbRooms = syncResponse.rooms?.invite.orEmpty().size + syncResponse.rooms?.join.orEmpty().size + syncResponse.rooms?.leave.orEmpty().size
|
||||||
val nbToDevice = syncResponse.toDevice?.events.orEmpty().size
|
val nbToDevice = syncResponse.toDevice?.events.orEmpty().size
|
||||||
Timber.tag(loggerTag.value).d("Incremental sync request parsing, $nbRooms room(s) $nbToDevice toDevice(s)")
|
val nextBatch = syncResponse.nextBatch
|
||||||
|
Timber.tag(loggerTag.value).d(
|
||||||
|
"Incremental sync request parsing, $nbRooms room(s) $nbToDevice toDevice(s). Got nextBatch: $nextBatch"
|
||||||
|
)
|
||||||
defaultSyncStatusService.setStatus(SyncStatusService.Status.IncrementalSyncParsing(
|
defaultSyncStatusService.setStatus(SyncStatusService.Status.IncrementalSyncParsing(
|
||||||
rooms = nbRooms,
|
rooms = nbRooms,
|
||||||
toDevice = nbToDevice
|
toDevice = nbToDevice
|
||||||
|
Loading…
Reference in New Issue
Block a user