about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-10-28 13:13:31 +0100
committerMichael Vetter <jubalh@iodoru.org>2021-01-28 14:44:53 +0100
commitd06ca640989070c364fde882b031df17765f88e6 (patch)
tree4a98201989506a27754f2687df3a46e1b6d485c8
parent014e03c72e691ff701dccc8c46fb74873419afbe (diff)
downloadprofani-tty-d06ca640989070c364fde882b031df17765f88e6.tar.gz
mam: fix logging message
-rw-r--r--src/xmpp/iq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c
index 56659c1a..7248bbd4 100644
--- a/src/xmpp/iq.c
+++ b/src/xmpp/iq.c
@@ -2544,7 +2544,7 @@ void
 iq_mam_request(ProfChatWin* win)
 {
     if (connection_supports(XMPP_FEATURE_MAM2) == FALSE) {
-        log_warning("Server doesn't advertise %s feature.", XMPP_FEATURE_PING);
+        log_warning("Server doesn't advertise %s feature.", XMPP_FEATURE_MAM2);
         cons_show_error("Server doesn't support MAM.");
         return;
     }