mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-23 15:51:11 +01:00
typo
This commit is contained in:
parent
c39a0e4fd5
commit
eca3bf0817
@ -44,7 +44,7 @@ import javax.inject.Inject
|
|||||||
|
|
||||||
internal interface SignOutTask : Task<SignOutTask.Params, Unit> {
|
internal interface SignOutTask : Task<SignOutTask.Params, Unit> {
|
||||||
data class Params(
|
data class Params(
|
||||||
val sigOutFromHomeserver: Boolean
|
val signOutFromHomeserver: Boolean
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ internal class DefaultSignOutTask @Inject constructor(
|
|||||||
|
|
||||||
override suspend fun execute(params: SignOutTask.Params) {
|
override suspend fun execute(params: SignOutTask.Params) {
|
||||||
// It should be done even after a soft logout, to be sure the deviceId is deleted on the
|
// It should be done even after a soft logout, to be sure the deviceId is deleted on the
|
||||||
if (params.sigOutFromHomeserver) {
|
if (params.signOutFromHomeserver) {
|
||||||
Timber.d("SignOut: send request...")
|
Timber.d("SignOut: send request...")
|
||||||
try {
|
try {
|
||||||
executeRequest<Unit>(eventBus) {
|
executeRequest<Unit>(eventBus) {
|
||||||
|
Loading…
Reference in New Issue
Block a user