allow message correction by default since security implications are negligible

Conversations only allows correction of the *last* message. so nudging a message into oblivion by adding a message correction doesn't work. also conversations checks the fingerprint for encrypted messages
This commit is contained in:
Daniel Gultsch 2016-07-17 22:42:37 +02:00
parent eb3ac1c326
commit e90e333f29
2 changed files with 2 additions and 2 deletions

View File

@ -2825,7 +2825,7 @@ public class XmppConnectionService extends Service {
} }
public boolean allowMessageCorrection() { public boolean allowMessageCorrection() {
return getPreferences().getBoolean("allow_message_correction", false); return getPreferences().getBoolean("allow_message_correction", true);
} }
public boolean sendChatStates() { public boolean sendChatStates() {

View File

@ -179,7 +179,7 @@
android:summary="@string/pref_remove_trusted_certificates_summary" android:summary="@string/pref_remove_trusted_certificates_summary"
android:title="@string/pref_remove_trusted_certificates_title"/> android:title="@string/pref_remove_trusted_certificates_title"/>
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="true"
android:key="allow_message_correction" android:key="allow_message_correction"
android:title="@string/pref_allow_message_correction" android:title="@string/pref_allow_message_correction"
android:summary="@string/pref_allow_message_correction_summary"/> android:summary="@string/pref_allow_message_correction_summary"/>