mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Update the Enterprise submodule. (#5953)
Add a new ClientProxyError case and make our ClientProtocol extension nonisolated.
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
import MatrixRustSDK
|
import MatrixRustSDK
|
||||||
|
|
||||||
extension ClientProtocol {
|
nonisolated extension ClientProtocol {
|
||||||
func elementWellKnown() async -> Result<Data, ClientProxyError> {
|
func elementWellKnown() async -> Result<Data, ClientProxyError> {
|
||||||
let serverNameURLString = if let userIDServerName = try? userIdServerName() {
|
let serverNameURLString = if let userIDServerName = try? userIdServerName() {
|
||||||
"https://\(userIDServerName)"
|
"https://\(userIDServerName)"
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ enum ClientProxyError: Error {
|
|||||||
|
|
||||||
case invalidMedia
|
case invalidMedia
|
||||||
case invalidServerName
|
case invalidServerName
|
||||||
|
case invalidHomeserverURL
|
||||||
case failedUploadingMedia(ErrorKind)
|
case failedUploadingMedia(ErrorKind)
|
||||||
case roomPreviewIsPrivate
|
case roomPreviewIsPrivate
|
||||||
case failedRetrievingUserIdentity
|
case failedRetrievingUserIdentity
|
||||||
|
|||||||
+1
-1
Submodule Enterprise updated: 9c0ac45dac...301d4e4ab0
Reference in New Issue
Block a user