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