diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-07-01 10:36:52 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-07-01 10:36:52 +0200 |
commit | 7f737a3b47f348e327bdf4de9af692f3668beb2c (patch) | |
tree | eeee39c063b13aec01055d5dfdcb6735d5ff14b0 /src/xmpp | |
parent | 31ebd6ab1cb464c66b1555e5d78896a46d092cc9 (diff) | |
download | profani-tty-7f737a3b47f348e327bdf4de9af692f3668beb2c.tar.gz |
Mention feature details when not supported
So that we will get aware of a version mismatch.
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/iq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 19b620e2..42571b9c 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -1385,7 +1385,7 @@ _autoping_timed_send(xmpp_conn_t* const conn, void* const userdata) if (connection_supports(XMPP_FEATURE_PING) == FALSE) { log_warning("Server doesn't advertise %s feature, disabling autoping.", XMPP_FEATURE_PING); prefs_set_autoping(0); - cons_show_error("Server ping not supported, autoping disabled."); + cons_show_error("Server ping not supported (%s), autoping disabled.", XMPP_FEATURE_PING); xmpp_conn_t* conn = connection_get_conn(); xmpp_timed_handler_delete(conn, _autoping_timed_send); return 1; @@ -2586,7 +2586,7 @@ iq_mam_request(ProfChatWin* win) { if (connection_supports(XMPP_FEATURE_MAM2) == FALSE) { log_warning("Server doesn't advertise %s feature.", XMPP_FEATURE_MAM2); - cons_show_error("Server doesn't support MAM."); + cons_show_error("Server doesn't support MAM (%s).", XMPP_FEATURE_MAM2); return; } |