From d06ca640989070c364fde882b031df17765f88e6 Mon Sep 17 00:00:00 2001
From: Michael Vetter <jubalh@iodoru.org>
Date: Wed, 28 Oct 2020 13:13:31 +0100
Subject: [PATCH] mam: fix logging message

---
 src/xmpp/iq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
     }