about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorWilliam Wennerström <william@wstrm.dev>2020-06-28 15:26:13 +0200
committerWilliam Wennerström <william@wstrm.dev>2020-11-16 21:58:08 +0100
commit9d58472c8cb4dd9fffc5620cae681c064e32f7bb (patch)
treee49c4c44fe74bbd578b2725869f9aef8edec8338 /src/ui
parentf4ab1ca9e75bbc635781c795089bf669ee08942d (diff)
downloadprofani-tty-9d58472c8cb4dd9fffc5620cae681c064e32f7bb.tar.gz
Remove /omemo sendfile
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index cb2bb888..03a5b21f 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -2192,13 +2192,7 @@ cons_show_omemo_prefs(void)
     cons_show("OMEMO char (/omemo char)     : %s", ch);
     free(ch);
 
-    if (prefs_get_boolean(PREF_OMEMO_SENDFILE)) {
-        cons_show("Allow sending unencrypted files in an OMEMO session via /sendfile (/omemo sendfile): ON");
-    } else {
-        cons_show("Allow sending unencrypted files in an OMEMO session via /sendfile (/omemo sendfile): OFF");
-    }
-
-    cons_alert(NULL);
+    cons_alert();
 }
 
 void