Update the SDK handling breaking changes. (#5364)

This commit is contained in:
Doug
2026-04-08 21:11:57 +01:00
committed by GitHub
parent b5261272ed
commit ff4270addc
6 changed files with 8 additions and 8 deletions

View File

@@ -9999,7 +9999,7 @@
repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift";
requirement = {
kind = exactVersion;
version = 26.04.01;
version = 26.04.08;
};
};
701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = {

View File

@@ -1,5 +1,5 @@
{
"originHash" : "3a17e06ab03ebf268e7a2e03765338ae8145f1ae223a1faa32bca9f5be6b1f11",
"originHash" : "12e465fcbc74ffd5e0b8c9c8f2c2c9c2bf36b48683874b4aefab01ffd87c5980",
"pins" : [
{
"identity" : "compound-design-tokens",
@@ -158,8 +158,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/element-hq/matrix-rust-components-swift",
"state" : {
"revision" : "6dd403e4b93c3354acb20f4a9aca82ef2f7fe12e",
"version" : "26.4.1"
"revision" : "5e29106fa819972e5aaf5d9e1e440bc206d649ea",
"version" : "26.4.8"
}
},
{

View File

@@ -36,6 +36,7 @@ extension EventTimelineItem {
isOwn: configuration.isOwn,
isEditable: false,
content: configuration.content,
eventTypeRaw: nil,
timestamp: 0,
localSendState: nil,
localCreatedAt: nil,

View File

@@ -832,8 +832,7 @@ class JoinedRoomProxy: JoinedRoomProxyProtocol {
}
private static func excludedEventsFilter(appSettings: AppSettings) -> TimelineEventFilter {
var stateEventFilters: [StateEventType] = [.roomAliases,
.roomCanonicalAlias,
var stateEventFilters: [StateEventType] = [.roomCanonicalAlias,
.roomGuestAccess,
.roomHistoryVisibility,
.roomJoinRules,

View File

@@ -197,7 +197,7 @@ struct RoomStateEventStringBuilder {
break
case .policyRuleRoom, .policyRuleServer, .policyRuleUser: // No strings available.
break
case .roomAliases, .roomCanonicalAlias: // Doesn't provide the alias.
case .roomCanonicalAlias: // Doesn't provide the alias.
break
case .roomGuestAccess, .roomHistoryVisibility: // Doesn't provide information about the change.
break

View File

@@ -74,7 +74,7 @@ packages:
# Element/Matrix dependencies
MatrixRustSDK:
url: https://github.com/element-hq/matrix-rust-components-swift
exactVersion: 26.04.01
exactVersion: 26.04.08
# path: ../matrix-rust-sdk
Compound:
path: compound-ios