mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
update sdk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user