mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 13:37:11 +00:00
update sdk
This commit is contained in:
parent
10966ab620
commit
171fc2cdc5
@ -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" */ = {
|
||||
|
@ -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"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -36,6 +36,7 @@ enum ClientProxyError: Error {
|
||||
case failedUploadingMedia(Error, MatrixErrorCode)
|
||||
case roomPreviewIsPrivate
|
||||
case failedRetrievingUserIdentity
|
||||
case failedResolvingRoomAlias
|
||||
}
|
||||
|
||||
enum SlidingSyncConstants {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user