- Timestamp:
- 2006-10-12T22:14:00Z (18 years ago)
- Branches:
- master
- Children:
- 93b7bd4
- Parents:
- a4effbf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
ra4effbf r7e83adca 186 186 static void jabber_get_info( struct gaim_connection *gc, char *who ) 187 187 { 188 struct jabber_data *jd = gc->proto_data; 188 189 struct jabber_buddy *bud; 189 struct xt_node *node; 190 191 bud = jabber_buddy_by_jid( gc, who ); 190 191 if( strchr( who, '/' ) ) 192 bud = jabber_buddy_by_jid( gc, who ); 193 else 194 bud = g_hash_table_lookup( jd->buddies, who ); 195 192 196 while( bud ) 193 197 { … … 198 202 bud = bud->next; 199 203 } 200 201 // node = xt_new_node( "vCard", NULL, NULL );202 // xt_add_attr( node, "xmlns", "vcard-temp" );203 node = xt_new_node( "query", NULL, NULL );204 xt_add_attr( node, "xmlns", "jabber:iq:version" );205 node = jabber_make_packet( "iq", "get", who, node );206 // jabber_cache_add( gc, node, );207 208 jabber_write_packet( gc, node );209 204 } 210 205
Note: See TracChangeset
for help on using the changeset viewer.