Changeset 6a1128d for protocols/jabber/jabber.c
- Timestamp:
- 2006-10-09T18:19:05Z (17 years ago)
- Branches:
- master
- Children:
- a21a8ac
- Parents:
- 861c199
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
r861c199 r6a1128d 80 80 81 81 jd->node_cache = g_hash_table_new_full( g_str_hash, g_str_equal, NULL, jabber_cache_entry_free ); 82 jd->buddies = g_hash_table_new( g_str_hash, g_str_equal ); 82 83 83 84 /* Figure out the hostname to connect to. */ … … 169 170 static void jabber_get_info( struct gaim_connection *gc, char *who ) 170 171 { 172 struct jabber_buddy *bud; 171 173 struct xt_node *node; 172 174 175 bud = jabber_buddy_by_jid( gc, who ); 176 while( bud ) 177 { 178 serv_got_crap( gc, "Buddy %s/%s (%d) information:\nAway state: %s\nAway message: %s", 179 bud->handle, bud->resource, bud->priority, 180 bud->away_state ? bud->away_state->full_name : "(none)", 181 bud->away_message ? : "(none)" ); 182 bud = bud->next; 183 } 184 185 // node = xt_new_node( "vCard", NULL, NULL ); 186 // xt_add_attr( node, "xmlns", "vcard-temp" ); 173 187 node = xt_new_node( "query", NULL, NULL ); 174 xt_add_attr( node, "xmlns", " http://jabber.org/protocol/disco#info" );188 xt_add_attr( node, "xmlns", "jabber:iq:version" ); 175 189 node = jabber_make_packet( "iq", "get", who, node ); 176 190 // jabber_cache_add( gc, node, );
Note: See TracChangeset
for help on using the changeset viewer.