Skip to content

Commit

Permalink
update sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
Velin92 committed Nov 6, 2024
1 parent 10966ab commit 7cf0a52
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ElementX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7858,7 +7858,7 @@
repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift";
requirement = {
kind = exactVersion;
version = 1.0.63;
version = 1.0.64;
};
};
701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/element-hq/matrix-rust-components-swift",
"state" : {
"revision" : "0dcb3a3ee8b0b1bb92c2e9d6395202e2547fe0d8",
"version" : "1.0.63"
"revision" : "5b2a50a75fe5814e5be4c550717d0e8a1abdbc7b",
"version" : "1.0.64"
}
},
{
Expand Down
4 changes: 3 additions & 1 deletion ElementX/Sources/Services/Client/ClientProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,9 @@ class ClientProxy: ClientProxyProtocol {

func resolveRoomAlias(_ alias: String) async -> Result<ResolvedRoomAlias, ClientProxyError> {
do {
let resolvedAlias = try await client.resolveRoomAlias(roomAlias: alias)
guard let resolvedAlias = try await client.resolveRoomAlias(roomAlias: alias) else {
return .failure(.failedResolvingRoomAlias)
}

// Resolving aliases is done through the directory/room API which returns too many / all known
// vias, which in turn results in invalid join requests. Trim them to something manageable
Expand Down
1 change: 1 addition & 0 deletions ElementX/Sources/Services/Client/ClientProxyProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ enum ClientProxyError: Error {
case failedUploadingMedia(Error, MatrixErrorCode)
case roomPreviewIsPrivate
case failedRetrievingUserIdentity
case failedResolvingRoomAlias
}

enum SlidingSyncConstants {
Expand Down
2 changes: 1 addition & 1 deletion project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ packages:
# Element/Matrix dependencies
MatrixRustSDK:
url: https://github.com/element-hq/matrix-rust-components-swift
exactVersion: 1.0.63
exactVersion: 1.0.64
# path: ../matrix-rust-sdk
Compound:
url: https://github.com/element-hq/compound-ios
Expand Down

0 comments on commit 7cf0a52

Please sign in to comment.