From 09cccc6754104f05caae5725e1dd2cf0acd1c4a7 Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Tue, 27 Jun 2023 15:41:57 +0100 Subject: [PATCH] Fix missing user agent during login and the first session. (#1181) --- ElementX.xcodeproj/project.pbxproj | 2 +- .../project.xcworkspace/xcshareddata/swiftpm/Package.resolved | 4 ++-- .../Services/Authentication/AuthenticationServiceProxy.swift | 1 + project.yml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ElementX.xcodeproj/project.pbxproj b/ElementX.xcodeproj/project.pbxproj index 91dc10250..011549eb3 100644 --- a/ElementX.xcodeproj/project.pbxproj +++ b/ElementX.xcodeproj/project.pbxproj @@ -5083,7 +5083,7 @@ repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift"; requirement = { kind = exactVersion; - version = "1.0.87-alpha"; + version = "1.0.88-alpha"; }; }; 96495DD8554E2F39D3954354 /* XCRemoteSwiftPackageReference "posthog-ios" */ = { diff --git a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 1a226a331..4f4411b1f 100644 --- a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -111,8 +111,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/matrix-org/matrix-rust-components-swift", "state" : { - "revision" : "3156a3746a71c38f78e955252dea5e7605d66c99", - "version" : "1.0.87-alpha" + "revision" : "95c70085a19d47d4281a888051f2f8fea843cfc9", + "version" : "1.0.88-alpha" } }, { diff --git a/ElementX/Sources/Services/Authentication/AuthenticationServiceProxy.swift b/ElementX/Sources/Services/Authentication/AuthenticationServiceProxy.swift index 94e071784..cd3aaf019 100644 --- a/ElementX/Sources/Services/Authentication/AuthenticationServiceProxy.swift +++ b/ElementX/Sources/Services/Authentication/AuthenticationServiceProxy.swift @@ -39,6 +39,7 @@ class AuthenticationServiceProxy: AuthenticationServiceProxyProtocol { authenticationService = AuthenticationService(basePath: userSessionStore.baseDirectory.path, passphrase: nil, + userAgent: UserAgentBuilder.makeASCIIUserAgent(), // oidcConfiguration: oidcConfiguration, customSlidingSyncProxy: ServiceLocator.shared.settings.slidingSyncProxyURL?.absoluteString) } diff --git a/project.yml b/project.yml index 4678b1a14..f8ea0e58c 100644 --- a/project.yml +++ b/project.yml @@ -44,7 +44,7 @@ include: packages: MatrixRustSDK: url: https://github.com/matrix-org/matrix-rust-components-swift - exactVersion: 1.0.87-alpha + exactVersion: 1.0.88-alpha # path: ../matrix-rust-sdk DesignKit: path: DesignKit