Sliding sync v2 (#775)

* Adopt latest rust Sliding Sync changes

* Bump SDK, converge on similar to configure both sliding sync lists

* Adopt latest SDK version, fix breaking changes

* Fix unit tests
This commit is contained in:
Stefan Ceriu
2023-04-06 18:43:08 +03:00
committed by GitHub
parent f368da3485
commit cabb8e5442
8 changed files with 95 additions and 63 deletions
@@ -141,7 +141,7 @@ private struct MockEventTimelineItem: EventTimelineItemProtocol {
func eventId() -> String? { UUID().uuidString }
func fmtDebug() -> String { "MockEvent" }
func debugInfo() -> MatrixRustSDK.EventTimelineItemDebugInfo { .init(model: "MockEvent", originalJson: nil, latestEditJson: nil) }
func isEditable() -> Bool { false }
@@ -159,7 +159,7 @@ private struct MockEventTimelineItem: EventTimelineItemProtocol {
func sender() -> String { "@user:server.com" }
func senderProfile() -> MatrixRustSDK.ProfileTimelineDetails { .unavailable }
func senderProfile() -> MatrixRustSDK.ProfileDetails { .unavailable }
func timestamp() -> UInt64 { 0 }