aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java b/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
index 17829998..20eca48a 100644
--- a/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
+++ b/src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java
@@ -14,6 +14,10 @@ public class ConversationsPlusPreferences extends Settings {
private static ConversationsPlusPreferences instance;
private final SharedPreferences sharedPreferences;
+ public static boolean omemoEnabled() {
+ return getBoolean("omemo_enabled", false);
+ }
+
public static String imgTransferFolder() {
return getString("img_transfer_folder", getString("app_name", "Conversations+"));
}
@@ -168,9 +172,6 @@ public class ConversationsPlusPreferences extends Settings {
public static boolean forceEncryption() {
return getBoolean("force_encryption", false);
}
- public static boolean confirmMessages() {
- return getBoolean("confirm_messages", true);
- }
public static boolean dontSaveEncrypted() {
return getBoolean("dont_save_encrypted", false);
@@ -193,6 +194,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;
}