mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 19:52:15 -05:00
Make legacy SSL option default to false
This commit is contained in:
parent
6c7c3ddf15
commit
99ee049115
@ -89,7 +89,7 @@
|
|||||||
android:summary="@string/pref_dont_save_encrypted_summary"
|
android:summary="@string/pref_dont_save_encrypted_summary"
|
||||||
android:title="@string/pref_dont_save_encrypted" />
|
android:title="@string/pref_dont_save_encrypted" />
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:defaultValue="true"
|
android:defaultValue="false"
|
||||||
android:key="enable_legacy_ssl"
|
android:key="enable_legacy_ssl"
|
||||||
android:summary="@string/pref_enable_legacy_ssl_summary"
|
android:summary="@string/pref_enable_legacy_ssl_summary"
|
||||||
android:title="@string/pref_enable_legacy_ssl" />
|
android:title="@string/pref_enable_legacy_ssl" />
|
||||||
|
@ -517,7 +517,7 @@ public class XmppConnection implements Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean enableLegacySSL() {
|
private boolean enableLegacySSL() {
|
||||||
return getPreferences().getBoolean("enable_legacy_ssl", true);
|
return getPreferences().getBoolean("enable_legacy_ssl", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void switchOverToTls(Tag currentTag) throws XmlPullParserException,
|
private void switchOverToTls(Tag currentTag) throws XmlPullParserException,
|
||||||
|
Loading…
Reference in New Issue
Block a user