mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 04:28:35 +00:00
Fix delete account bug.
This commit is contained in:
@@ -102,17 +102,6 @@ class DeleteAccountRepository {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Log.i(TAG, "deleteAccount: successfully left all groups.");
|
Log.i(TAG, "deleteAccount: successfully left all groups.");
|
||||||
Log.i(TAG, "deleteAccount: attempting to remove pin...");
|
|
||||||
|
|
||||||
try {
|
|
||||||
ApplicationDependencies.getKeyBackupService(KbsEnclaves.current()).newPinChangeSession().removePin();
|
|
||||||
} catch (UnauthenticatedResponseException | IOException e) {
|
|
||||||
Log.w(TAG, "deleteAccount: failed to remove PIN", e);
|
|
||||||
onDeleteAccountEvent.accept(DeleteAccountEvent.PinDeletionFailed.INSTANCE);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
Log.i(TAG, "deleteAccount: successfully removed pin.");
|
|
||||||
Log.i(TAG, "deleteAccount: attempting to delete account from server...");
|
Log.i(TAG, "deleteAccount: attempting to delete account from server...");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user