diff options
author | steckbrief <steckbrief@chefmail.de> | 2016-03-02 16:54:18 +0100 |
---|---|---|
committer | steckbrief <steckbrief@chefmail.de> | 2016-03-02 16:54:18 +0100 |
commit | 5d21abac1dd2fed7a5e87f8fb23bc15ee0912322 (patch) | |
tree | 2f1e62051972c0be576794f09a67bf9036a8b915 /src/main/java/de | |
parent | c26f907263209325dc23b1c3e4b59b8cb6e6610e (diff) |
Fixes FS#147: Disable OMEMO
Diffstat (limited to 'src/main/java/de')
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/ConversationsPlusPreferences.java | 4 |
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+")); } |