aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-02-23 13:07:20 +0100
committersteckbrief <steckbrief@chefmail.de>2016-02-23 13:07:20 +0100
commit64049eb335ef0fe2d0b39340f8e482962e7dc9ad (patch)
tree0758d72915438c0e06ebd74b9ef935f59087b9bc /src/main/java/de/thedevstack
parent0c22f68aef5dd44caebf930b684979ecac0a35d2 (diff)
Removed unnecessary dependencies to XmppConnectionService and added allowMessageCorrection to preferences
Diffstat (limited to 'src/main/java/de/thedevstack')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java b/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
index 17829998..c135e457 100644
--- a/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
+++ b/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
@@ -193,6 +193,10 @@ public class ConversationsPlusPreferences extends Settings {
return getBoolean("indicate_received", false);
}
+ public static boolean allowMessageCorrection() {
+ return getBoolean("allow_message_correction", true);
+ }
+
private ConversationsPlusPreferences(SharedPreferences sharedPreferences) {
this.sharedPreferences = sharedPreferences;
}