Bump the Rust SDK to 1.0.42-alpha, fix breaking changes

This commit is contained in:
Stefan Ceriu
2023-03-02 16:41:06 +02:00
committed by Stefan Ceriu
parent 9e604c120b
commit b5055d1680
5 changed files with 21 additions and 21 deletions
@@ -67,7 +67,7 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
// MARK: - Private
fileprivate func updateRoomsWithDiffs(_ diffs: [SlidingSyncViewRoomsListDiff]) {
fileprivate func updateRoomsWithDiffs(_ diffs: [SlidingSyncListRoomsListDiff]) {
MXLog.info("Received \(diffs.count) diffs")
rooms = diffs
@@ -136,7 +136,7 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
}
// swiftlint:disable:next cyclomatic_complexity function_body_length
private func buildDiff(from diff: SlidingSyncViewRoomsListDiff, on rooms: [RoomSummary]) -> CollectionDifference<RoomSummary>? {
private func buildDiff(from diff: SlidingSyncListRoomsListDiff, on rooms: [RoomSummary]) -> CollectionDifference<RoomSummary>? {
var changes = [CollectionDifference<RoomSummary>.Change]()
switch diff {