# HG changeset patch # User Adam Fritzler # Date 995489288 0 # Node ID 0d53e0eb44566a689bfdeb99c9e88dde32993e41 # Parent 824dc84315c70e1d2a520741d58ae6dc8964df4a [gaim-migrate @ 2088] DESC in vCard. committer: Tailor Script diff -r 824dc84315c7 -r 0d53e0eb4456 plugins/jabber/jabber.c --- a/plugins/jabber/jabber.c Tue Jul 17 19:19:42 2001 +0000 +++ b/plugins/jabber/jabber.c Wed Jul 18 20:48:08 2001 +0000 @@ -922,7 +922,7 @@ static void jabber_handlevcard(gjconn j, xmlnode querynode, char *from) { char buf[1024]; - char *fn, *url, *email, *nickname, *status; + char *fn, *url, *email, *nickname, *status, *desc; jid who; char *buddy; struct jabber_data *jd = GJ_GC(j)->proto_data; @@ -935,6 +935,7 @@ url = xmlnode_get_tag_data(querynode, "URL"); email = xmlnode_get_tag_data(querynode, "EMAIL"); nickname = xmlnode_get_tag_data(querynode, "NICKNAME"); + desc = xmlnode_get_tag_data(querynode, "DESC"); status = g_hash_table_lookup(jd->hash, buddy); if (!status) status = "Online"; @@ -951,7 +952,9 @@ at += g_snprintf(buf + at, sizeof(buf) - at, "Email: %s
", email, email); at += g_snprintf(buf + at, sizeof(buf) - at, "Status: %s\n", status); - + if (desc) + at += g_snprintf(buf + at, sizeof(buf) - at, "
%s
\n", desc); + g_show_info_text(buf); g_free(buddy); }