Provide the user agent to RustMatrixAuthenticationService
This commit is contained in:
parent
79366e8f1c
commit
0cb1c41f6d
1 changed files with 1 additions and 3 deletions
|
|
@ -60,15 +60,13 @@ class RustMatrixAuthenticationService @Inject constructor(
|
||||||
private val userAgentProvider: UserAgentProvider,
|
private val userAgentProvider: UserAgentProvider,
|
||||||
) : MatrixAuthenticationService {
|
) : MatrixAuthenticationService {
|
||||||
|
|
||||||
// TODO Provide user agent to RustAuthenticationService
|
|
||||||
// https://github.com/matrix-org/matrix-rust-sdk/issues/2156
|
|
||||||
private val authService: RustAuthenticationService = RustAuthenticationService(
|
private val authService: RustAuthenticationService = RustAuthenticationService(
|
||||||
basePath = baseDirectory.absolutePath,
|
basePath = baseDirectory.absolutePath,
|
||||||
passphrase = null,
|
passphrase = null,
|
||||||
// TODO Oidc
|
// TODO Oidc
|
||||||
// oidcClientMetadata = oidcClientMetadata,
|
// oidcClientMetadata = oidcClientMetadata,
|
||||||
|
userAgent = userAgentProvider.provide(),
|
||||||
customSlidingSyncProxy = null,
|
customSlidingSyncProxy = null,
|
||||||
userAgent = null, // TODO
|
|
||||||
)
|
)
|
||||||
private var currentHomeserver = MutableStateFlow<MatrixHomeServerDetails?>(null)
|
private var currentHomeserver = MutableStateFlow<MatrixHomeServerDetails?>(null)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue