mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-30 19:04:54 +01:00
Soft Logout - add a TODO, waiting for Synapse bugfix
This commit is contained in:
parent
1af44ce5f7
commit
050519e998
@ -54,9 +54,10 @@ internal class DefaultSignOutTask @Inject constructor(private val context: Conte
|
||||
@UserMd5 private val userMd5: String) : SignOutTask {
|
||||
|
||||
override suspend fun execute(params: SignOutTask.Params) {
|
||||
Timber.d("SignOut: send request...")
|
||||
|
||||
// TODO It should be done even after a soft logout, to be sure the deviceId is deleted on the
|
||||
// TODO homeserver but https://github.com/matrix-org/synapse/issues/5755
|
||||
if (params.sigOutFromHomeserver) {
|
||||
Timber.d("SignOut: send request...")
|
||||
executeRequest<Unit> {
|
||||
apiCall = signOutAPI.signOut()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user