mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 04:52:00 +03:00
Also record next_batch
This commit is contained in:
parent
6eae151e78
commit
7997435003
1 changed files with 4 additions and 1 deletions
|
@ -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 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(
|
||||
rooms = nbRooms,
|
||||
toDevice = nbToDevice
|
||||
|
|
Loading…
Reference in a new issue