Skip to content

Commit

Permalink
chore: bulletproofing crypto box to cc migration (WPB-14250) 🍒 (#3678)
Browse files Browse the repository at this point in the history
Co-authored-by: Michał Saleniuk <[email protected]>
  • Loading branch information
yamilmedina and saleniuk authored Nov 28, 2024
1 parent 6945887 commit bbded96
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ class AccountSwitchUseCase @Inject constructor(
LogoutReason.SELF_SOFT_LOGOUT, LogoutReason.SELF_HARD_LOGOUT -> {
deleteSession(invalidAccount.userId)
}
LogoutReason.MIGRATION_TO_CC_FAILED,
LogoutReason.DELETED_ACCOUNT,
LogoutReason.REMOVED_CLIENT,
LogoutReason.SESSION_EXPIRED -> deleteSession(invalidAccount.userId)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class WireActivityViewModel @Inject constructor(
// Self logout is handled from the Self user profile screen directly
}

LogoutReason.REMOVED_CLIENT ->
LogoutReason.MIGRATION_TO_CC_FAILED, LogoutReason.REMOVED_CLIENT ->
globalAppState =
globalAppState.copy(blockUserUI = CurrentSessionErrorState.RemovedClient)

Expand Down
2 changes: 1 addition & 1 deletion default.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"default_backend_url_blacklist": "https://clientblacklist.wire.com/staging",
"default_backend_url_website": "https://wire.com",
"default_backend_title": "wire-staging",
"encrypt_proteus_storage": true,
"encrypt_proteus_storage": false,
"analytics_enabled": false,
"picture_in_picture_enabled": true,
"analytics_app_key": "8ffae535f1836ed5f58fd5c8a11c00eca07c5438",
Expand Down
2 changes: 1 addition & 1 deletion kalium

0 comments on commit bbded96

Please sign in to comment.