diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-01-28 14:43:44 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-01-28 14:44:53 +0100 |
commit | c2ec3e7033b925343d973f4a40c0bab653791b7d (patch) | |
tree | bdf5e8ebeb7a66dd7000919af67459ce612a39de | |
parent | 840238b12671ae77ecfc8911879595816829486b (diff) | |
download | profani-tty-c2ec3e7033b925343d973f4a40c0bab653791b7d.tar.gz |
Enable error logging on MAM RSM
-rw-r--r-- | src/xmpp/iq.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index ed1af567..5012d1a5 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -2583,13 +2583,10 @@ _mam_rsm_id_handler(xmpp_stanza_t* const stanza, void* const userdata) { const char* type = xmpp_stanza_get_type(stanza); if (g_strcmp0(type, "error") == 0) { - //TODO - /* char* error_message = stanza_get_error_message(stanza); cons_show_error("Server error: %s", error_message); - log_debug("Error: %s", error_message); + log_debug("MAM Error: %s", error_message); free(error_message); - */ } else if (g_strcmp0(type, "result") == 0) { xmpp_stanza_t* fin = xmpp_stanza_get_child_by_name_and_ns(stanza, STANZA_NAME_FIN, STANZA_NS_MAM2); if (fin) { |