--- a/mcabber/src/commands.c Tue Nov 07 22:21:39 2006 +0100
+++ b/mcabber/src/commands.c Tue Nov 07 22:43:17 2006 +0100
@@ -212,6 +212,7 @@
// Request (query) category
compl_add_category_word(COMPL_REQUEST, "time");
+ compl_add_category_word(COMPL_REQUEST, "vcard");
compl_add_category_word(COMPL_REQUEST, "version");
// Events category
@@ -2217,6 +2218,8 @@
numtype = iqreq_version;
else if (!strcasecmp(type, "time"))
numtype = iqreq_time;
+ else if (!strcasecmp(type, "vcard"))
+ numtype = iqreq_vcard;
else if (!strcasecmp(type, "show_list")) {
// Undocumented command, for debugging purposes only
jb_iqs_display_list();
@@ -2260,6 +2263,7 @@
switch (numtype) {
case iqreq_version:
case iqreq_time:
+ case iqreq_vcard:
jb_request(jid, numtype);
break;
default: