about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-12-18 14:35:47 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-12-18 14:35:47 +0100
commit2b6b165ed2aed54073da3abf30a6f13f73f243ab (patch)
treeac176c09019765159e0dc464f3b6a6094744c01b /src
parent795ae00acfde831e5baa344f310ea7bc14c28e64 (diff)
downloadprofani-tty-2b6b165ed2aed54073da3abf30a6f13f73f243ab.tar.gz
xep-0084: Improve help
Diffstat (limited to 'src')
-rw-r--r--src/command/cmd_defs.c4
-rw-r--r--src/xmpp/avatar.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 9b7c6b37..a1dde57b 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -2322,7 +2322,9 @@ static struct cmd_t command_defs[] =
         CMD_SYN(
             "/avatar <barejid>")
         CMD_DESC(
-            "Download avatar for a certain contact.")
+            "Download avatar (XEP-0084) for a certain contact. "
+            "If nothing happens after using this command the user either doesn't have an avatar set at all "
+            "or doesn't use XEP-0084 to publish it.")
         CMD_ARGS(
             { "<barejid>", "JID to download avatar from."})
         CMD_NOEXAMPLES
diff --git a/src/xmpp/avatar.c b/src/xmpp/avatar.c
index a968780c..7ca10b56 100644
--- a/src/xmpp/avatar.c
+++ b/src/xmpp/avatar.c
@@ -117,7 +117,7 @@ _avatar_metadata_nofication(xmpp_stanza_t *const stanza, void *const userdata)
         xmpp_stanza_t *info = xmpp_stanza_get_child_by_name(metadata, "info");
         const char *id = xmpp_stanza_get_id(info);
 
-        cons_show("Id for %s is: %s", from, id);
+        log_debug("Avatar ID for %s is: %s", from, id);
         avatar_request_item_by_id(from, id);
     }