xep-0084: Look for specific user and print ID

Add a `/avatar` command.
This commit is contained in:
Michael Vetter
2019-12-18 11:24:50 +01:00
parent 771dfab123
commit e3538cf739
5 changed files with 47 additions and 2 deletions

View File

@@ -2312,6 +2312,21 @@ static struct cmd_t command_defs[] =
"/color on",
"/color blue")
},
{ "/avatar",
parse_args, 1, 1, NULL,
CMD_NOSUBFUNCS
CMD_MAINFUNC(cmd_avatar)
CMD_TAGS(
CMD_TAG_CHAT)
CMD_SYN(
"/color nick")
CMD_DESC(
"Not ready")
CMD_ARGS(
{ "nick", "Not ready"})
CMD_NOEXAMPLES
},
};
static GHashTable *search_index;