Actually set the preference to unregistered

This commit is contained in:
Moxie Marlinspike 2013-07-22 13:01:30 -07:00
parent 0e899b93d4
commit 03ff55db97

View File

@ -342,6 +342,7 @@ public class ApplicationPreferencesActivity extends PassphraseRequiredSherlockPr
break;
case SUCCESS:
((CheckBoxPreference)preference).setChecked(false);
TextSecurePreferences.setPushRegistered(ApplicationPreferencesActivity.this, false);
break;
}
}