Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/5155_ignore_badge_updates_from_virtual_rooms

This commit is contained in:
David Langley
2021-11-16 12:00:45 +00:00
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
}
@@ -108,7 +108,7 @@ final class ReactionHistoryViewModel: ReactionHistoryViewModelType {
self.update(viewState: .loading)
self.operation = self.aggregations.reactionsEvents(forEvent: self.eventId, inRoom: self.roomId, from: self.nextBatch, limit: Pagination.count, success: { [weak self] (response) in
self.operation = self.aggregations.reactionsEvents(forEvent: self.eventId, inRoom: self.roomId, from: self.nextBatch, limit: Int(Pagination.count), success: { [weak self] (response) in
guard let self = self else {
return
}