Fix build after changing aggregation method limits from UInt to Int in the SDK.

This commit is contained in:
Stefan Ceriu
2021-11-16 13:41:41 +02:00
parent ba9c40cf2d
commit 879ac56d83
2 changed files with 2 additions and 2 deletions
@@ -105,7 +105,7 @@ final class EditHistoryViewModel: EditHistoryViewModelType {
self.update(viewState: .loading)
self.operation = self.aggregations.replaceEvents(forEvent: self.event.eventId, isEncrypted: self.event.isEncrypted, inRoom: self.roomId, from: self.nextBatch, limit: Pagination.count, success: { [weak self] (response) in
self.operation = self.aggregations.replaceEvents(forEvent: self.event.eventId, isEncrypted: self.event.isEncrypted, inRoom: self.roomId, from: self.nextBatch, limit: Int(Pagination.count), success: { [weak self] (response) in
guard let sself = self else {
return
}