mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +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";
|
repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = exactVersion;
|
kind = exactVersion;
|
||||||
version = 1.0.63;
|
version = 1.0.64;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = {
|
701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = {
|
||||||
|
@ -149,8 +149,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/element-hq/matrix-rust-components-swift",
|
"location" : "https://github.com/element-hq/matrix-rust-components-swift",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "0dcb3a3ee8b0b1bb92c2e9d6395202e2547fe0d8",
|
"revision" : "5b2a50a75fe5814e5be4c550717d0e8a1abdbc7b",
|
||||||
"version" : "1.0.63"
|
"version" : "1.0.64"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -625,7 +625,9 @@ class ClientProxy: ClientProxyProtocol {
|
|||||||
|
|
||||||
func resolveRoomAlias(_ alias: String) async -> Result<ResolvedRoomAlias, ClientProxyError> {
|
func resolveRoomAlias(_ alias: String) async -> Result<ResolvedRoomAlias, ClientProxyError> {
|
||||||
do {
|
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
|
// 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
|
// 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 failedUploadingMedia(Error, MatrixErrorCode)
|
||||||
case roomPreviewIsPrivate
|
case roomPreviewIsPrivate
|
||||||
case failedRetrievingUserIdentity
|
case failedRetrievingUserIdentity
|
||||||
|
case failedResolvingRoomAlias
|
||||||
}
|
}
|
||||||
|
|
||||||
enum SlidingSyncConstants {
|
enum SlidingSyncConstants {
|
||||||
|
@ -60,7 +60,7 @@ packages:
|
|||||||
# Element/Matrix dependencies
|
# Element/Matrix dependencies
|
||||||
MatrixRustSDK:
|
MatrixRustSDK:
|
||||||
url: https://github.com/element-hq/matrix-rust-components-swift
|
url: https://github.com/element-hq/matrix-rust-components-swift
|
||||||
exactVersion: 1.0.63
|
exactVersion: 1.0.64
|
||||||
# path: ../matrix-rust-sdk
|
# path: ../matrix-rust-sdk
|
||||||
Compound:
|
Compound:
|
||||||
url: https://github.com/element-hq/compound-ios
|
url: https://github.com/element-hq/compound-ios
|
||||||
|
Loading…
x
Reference in New Issue
Block a user