mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
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:
@@ -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 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user