From e90e333f292301c1b46237a72756ab0eeabce52e Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 17 Jul 2016 22:42:37 +0200 Subject: 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 --- .../java/eu/siacs/conversations/services/XmppConnectionService.java | 2 +- src/main/res/xml/preferences.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index 02c0650c..766b1473 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -2825,7 +2825,7 @@ public class XmppConnectionService extends Service { } public boolean allowMessageCorrection() { - return getPreferences().getBoolean("allow_message_correction", false); + return getPreferences().getBoolean("allow_message_correction", true); } public boolean sendChatStates() { diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index b81c78d4..68b2f73a 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -179,7 +179,7 @@ android:summary="@string/pref_remove_trusted_certificates_summary" android:title="@string/pref_remove_trusted_certificates_title"/> -- cgit v1.2.3