mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Review logging for blocking.c
This commit is contained in:
parent
b73606cc60
commit
48290d3d61
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user