mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 03:16:02 +03:00
Updating the log in ssoAuthDone method to improve privacy
This commit is contained in:
parent
854a604fbe
commit
c9eaf30057
1 changed files with 2 additions and 2 deletions
|
@ -32,15 +32,15 @@ class PendingAuthHandler @Inject constructor(
|
|||
private val matrix: Matrix,
|
||||
private val activeSessionHolder: ActiveSessionHolder,
|
||||
) {
|
||||
|
||||
var uiaContinuation: Continuation<UIABaseAuth>? = null
|
||||
var pendingAuth: UIABaseAuth? = null
|
||||
|
||||
fun ssoAuthDone() {
|
||||
Timber.d("ssoAuthDone $pendingAuth , continuation: $uiaContinuation")
|
||||
pendingAuth?.let {
|
||||
Timber.d("ssoAuthDone, resuming action")
|
||||
uiaContinuation?.resume(it)
|
||||
} ?: run {
|
||||
Timber.d("ssoAuthDone, cannot resume: no pendingAuth")
|
||||
uiaContinuation?.resumeWithException(IllegalArgumentException())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue