diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-09-30 19:29:35 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-09-30 19:30:40 +0200 |
commit | 0a9200e268d5291f8caf643373eb4c295116d510 (patch) | |
tree | 5d3dbddc8efd338db956e4e7dafcb7663e8c153f /src | |
parent | 3d082bfb66e322e10b1e5f68aabca435285e634b (diff) | |
download | profani-tty-0a9200e268d5291f8caf643373eb4c295116d510.tar.gz |
Require libstrophe/libmesode 0.10.0
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/connection.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index ace28255..0bcab020 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -193,13 +193,7 @@ connection_connect(const char* const jid, const char* const passwd, const char* } if (auth_policy && (g_strcmp0(auth_policy, "legacy") == 0)) { -#ifdef HAVE_LIBSTROPHE_LT_0_9_3 - log_warning("Legacy authentication is requested, but it hasn't been " - "built. Update libstrophe and rebuild Profanity."); - cons_show("Legacy authentication is requested, but it hasn't been built."); -#else flags |= XMPP_CONN_FLAG_LEGACY_AUTH; -#endif /* HAVE_LIBSTROPHE_LT_0_9_3 */ } xmpp_conn_set_flags(conn.xmpp_conn, flags); @@ -215,9 +209,7 @@ connection_connect(const char* const jid, const char* const passwd, const char* LOG_FLAG_IF_SET(XMPP_CONN_FLAG_TRUST_TLS); LOG_FLAG_IF_SET(XMPP_CONN_FLAG_DISABLE_TLS); LOG_FLAG_IF_SET(XMPP_CONN_FLAG_LEGACY_SSL); -#ifndef HAVE_LIBSTROPHE_LT_0_9_3 LOG_FLAG_IF_SET(XMPP_CONN_FLAG_LEGACY_AUTH); -#endif /* HAVE_LIBSTROPHE_LT_0_9_3 */ #undef LOG_FLAG_IF_SET } |