aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2019-03-19 16:50:06 +0100
committerPaul Fariello <paul@fariello.eu>2019-04-10 17:12:31 +0200
commit70109953ec72e54337e787f5140f449646770f7e (patch)
tree6fe2298a72a9499021fa3c7ada1c7f159dff296e /src/command
parentd8f0bcef9407f45161e124aa4703d0f0485fb2db (diff)
downloadprofani-tty-70109953ec72e54337e787f5140f449646770f7e.tar.gz
Revert "Ensure room isn't anonymous"
This reverts commit 733e1a24c7e08dde6aa2c15ec4528220aa360845.
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 4c8accd0..f21da6e7 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -7978,10 +7978,6 @@ cmd_omemo_start(ProfWin *window, const char *const command, gchar **args)
/* TODO: Check room is configured correctly, no anonymous and access to
* full jid */
- if (!caps_jid_has_feature(mucwin->roomjid, XMPP_FEATURE_MUC_NONANONYMOUS)) {
- win_println(window, THEME_DEFAULT, '!', "MUC is anonymous, can't enable OMEMO.");
- return TRUE;
- }
omemo_start_muc_sessions(mucwin->roomjid);
mucwin->is_omemo = TRUE;