From 03ff55db97fa1ba0ff2d7a8c0b365afa24a1ec96 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Mon, 22 Jul 2013 13:01:30 -0700 Subject: [PATCH] Actually set the preference to unregistered --- .../thoughtcrime/securesms/ApplicationPreferencesActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/thoughtcrime/securesms/ApplicationPreferencesActivity.java b/src/org/thoughtcrime/securesms/ApplicationPreferencesActivity.java index 941f0bf48e..efd3e310e3 100644 --- a/src/org/thoughtcrime/securesms/ApplicationPreferencesActivity.java +++ b/src/org/thoughtcrime/securesms/ApplicationPreferencesActivity.java @@ -342,6 +342,7 @@ public class ApplicationPreferencesActivity extends PassphraseRequiredSherlockPr break; case SUCCESS: ((CheckBoxPreference)preference).setChecked(false); + TextSecurePreferences.setPushRegistered(ApplicationPreferencesActivity.this, false); break; } }