From 86a54970f4b6bb8466ea311401821ff0b3bd5a64 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Tue, 9 Oct 2018 17:33:52 +0200 Subject: [PATCH] correct logical contact-delete-failed check introduced by me with the last commit --- .../thoughtcrime/securesms/ContactSelectionListFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/ContactSelectionListFragment.java b/src/org/thoughtcrime/securesms/ContactSelectionListFragment.java index fdb1ab8fd..baf87813d 100644 --- a/src/org/thoughtcrime/securesms/ContactSelectionListFragment.java +++ b/src/org/thoughtcrime/securesms/ContactSelectionListFragment.java @@ -182,7 +182,7 @@ public class ContactSelectionListFragment extends Fragment boolean failed = false; for (int index = 0; index < actionModeSelection.size(); index++) { int contactId = actionModeSelection.valueAt(index); - boolean currentFailed = dcContext.deleteContact(contactId); + boolean currentFailed = !dcContext.deleteContact(contactId); failed = currentFailed || failed; } if (failed) {