1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Review logging for blocking.c

This commit is contained in:
Michael Vetter 2020-04-14 18:32:43 +02:00
parent b73606cc60
commit 48290d3d61

View File

@ -273,7 +273,7 @@ _block_remove_result_handler(xmpp_stanza_t *const stanza, void *const userdata)
static int static int
_blocklist_result_handler(xmpp_stanza_t *const stanza, void *const userdata) _blocklist_result_handler(xmpp_stanza_t *const stanza, void *const userdata)
{ {
log_info("Blocked list result handler fired."); log_debug("Blocked list result handler fired.");
const char *type = xmpp_stanza_get_type(stanza); const char *type = xmpp_stanza_get_type(stanza);
if (g_strcmp0(type, "result") != 0) { if (g_strcmp0(type, "result") != 0) {
@ -294,7 +294,7 @@ _blocklist_result_handler(xmpp_stanza_t *const stanza, void *const userdata)
xmpp_stanza_t *items = xmpp_stanza_get_children(blocklist); xmpp_stanza_t *items = xmpp_stanza_get_children(blocklist);
if (!items) { if (!items) {
log_info("No blocked users."); log_debug("No blocked users.");
return 0; return 0;
} }