aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-03-02 16:54:18 +0100
committersteckbrief <steckbrief@chefmail.de>2016-03-02 16:54:18 +0100
commit5d21abac1dd2fed7a5e87f8fb23bc15ee0912322 (patch)
tree2f1e62051972c0be576794f09a67bf9036a8b915 /src/main/java/de
parentc26f907263209325dc23b1c3e4b59b8cb6e6610e (diff)
Fixes FS#147: Disable OMEMO
Diffstat (limited to 'src/main/java/de')
-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 18e54362..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+"));
}