Increase update screen limit to 500 (#9599)

This commit is contained in:
AntsyLich 2023-06-11 01:38:56 +06:00 committed by GitHub
parent dddba7bb6f
commit fc4fd487f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ class GetUpdates(
} }
fun subscribe(calendar: Calendar): Flow<List<UpdatesWithRelations>> { fun subscribe(calendar: Calendar): Flow<List<UpdatesWithRelations>> {
return repository.subscribeAll(calendar.time.time, limit = 250) return repository.subscribeAll(calendar.time.time, limit = 500)
} }
fun subscribe(read: Boolean, after: Long): Flow<List<UpdatesWithRelations>> { fun subscribe(read: Boolean, after: Long): Flow<List<UpdatesWithRelations>> {