Fix missing user agent during login and the first session. (#1181)

This commit is contained in:
Doug
2023-06-27 15:41:57 +01:00
committed by GitHub
parent a46af8c27e
commit 13f5ec8a73
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -5083,7 +5083,7 @@
repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift"; repositoryURL = "https://github.com/matrix-org/matrix-rust-components-swift";
requirement = { requirement = {
kind = exactVersion; kind = exactVersion;
version = "1.0.87-alpha"; version = "1.0.88-alpha";
}; };
}; };
96495DD8554E2F39D3954354 /* XCRemoteSwiftPackageReference "posthog-ios" */ = { 96495DD8554E2F39D3954354 /* XCRemoteSwiftPackageReference "posthog-ios" */ = {
@@ -111,8 +111,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/matrix-org/matrix-rust-components-swift", "location" : "https://github.com/matrix-org/matrix-rust-components-swift",
"state" : { "state" : {
"revision" : "3156a3746a71c38f78e955252dea5e7605d66c99", "revision" : "95c70085a19d47d4281a888051f2f8fea843cfc9",
"version" : "1.0.87-alpha" "version" : "1.0.88-alpha"
} }
}, },
{ {
@@ -39,6 +39,7 @@ class AuthenticationServiceProxy: AuthenticationServiceProxyProtocol {
authenticationService = AuthenticationService(basePath: userSessionStore.baseDirectory.path, authenticationService = AuthenticationService(basePath: userSessionStore.baseDirectory.path,
passphrase: nil, passphrase: nil,
userAgent: UserAgentBuilder.makeASCIIUserAgent(),
// oidcConfiguration: oidcConfiguration, // oidcConfiguration: oidcConfiguration,
customSlidingSyncProxy: ServiceLocator.shared.settings.slidingSyncProxyURL?.absoluteString) customSlidingSyncProxy: ServiceLocator.shared.settings.slidingSyncProxyURL?.absoluteString)
} }
+1 -1
View File
@@ -44,7 +44,7 @@ include:
packages: packages:
MatrixRustSDK: MatrixRustSDK:
url: https://github.com/matrix-org/matrix-rust-components-swift url: https://github.com/matrix-org/matrix-rust-components-swift
exactVersion: 1.0.87-alpha exactVersion: 1.0.88-alpha
# path: ../matrix-rust-sdk # path: ../matrix-rust-sdk
DesignKit: DesignKit:
path: DesignKit path: DesignKit