Removing a debug log
This commit is contained in:
parent
f9591a5fc6
commit
fc26d61305
|
@ -38,7 +38,6 @@ import org.matrix.android.sdk.internal.database.model.TimelineEventEntity
|
||||||
import org.matrix.android.sdk.internal.database.model.TimelineEventEntityFields
|
import org.matrix.android.sdk.internal.database.model.TimelineEventEntityFields
|
||||||
import org.matrix.android.sdk.internal.di.SessionDatabase
|
import org.matrix.android.sdk.internal.di.SessionDatabase
|
||||||
import org.matrix.android.sdk.internal.util.time.Clock
|
import org.matrix.android.sdk.internal.util.time.Clock
|
||||||
import timber.log.Timber
|
|
||||||
|
|
||||||
private const val LOADING_PERIOD_IN_DAYS = 30
|
private const val LOADING_PERIOD_IN_DAYS = 30
|
||||||
private const val EVENTS_PAGE_SIZE = 250
|
private const val EVENTS_PAGE_SIZE = 250
|
||||||
|
@ -115,7 +114,6 @@ internal class DefaultPollHistoryService @AssistedInject constructor(
|
||||||
|
|
||||||
return Transformations.switchMap(pollHistoryStatusLiveData) { results ->
|
return Transformations.switchMap(pollHistoryStatusLiveData) { results ->
|
||||||
val oldestTimestamp = results.firstOrNull()?.oldestTimestampTargetReachedMs ?: clock.epochMillis()
|
val oldestTimestamp = results.firstOrNull()?.oldestTimestampTargetReachedMs ?: clock.epochMillis()
|
||||||
Timber.d("oldestTimestamp=$oldestTimestamp")
|
|
||||||
getPollStartEventsAfter(oldestTimestamp)
|
getPollStartEventsAfter(oldestTimestamp)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue