comparison libpurple/protocols/yahoo/yahoo_doodle.c @ 27610:4bfaf18fcb13

Change a bunch more of our yahoo packets to use the session ID. I believe this is now all of the packets that aren't p2p related (those packets get their ID's differently). I also changed what version of the client we claim to be for the chatrooms. We were claiming to be "ym8.1.0.415" when we should have claimed to be whatever version is defined in YAHOO_CLIENT_VERSION.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sat, 18 Jul 2009 16:12:12 +0000
parents ef5f0cde8d74
children 908be3822215
comparison
equal deleted inserted replaced
27609:8b6bf8479d10 27610:4bfaf18fcb13
390 purple_debug_info("yahoo", "doodle: Sent %s (%s)\n", type, to); 390 purple_debug_info("yahoo", "doodle: Sent %s (%s)\n", type, to);
391 391
392 yd = gc->proto_data; 392 yd = gc->proto_data;
393 393
394 /* Make and send an acknowledge (ready) Doodle packet */ 394 /* Make and send an acknowledge (ready) Doodle packet */
395 pkt = yahoo_packet_new(YAHOO_SERVICE_P2PFILEXFER, YAHOO_STATUS_AVAILABLE, 0); 395 pkt = yahoo_packet_new(YAHOO_SERVICE_P2PFILEXFER, YAHOO_STATUS_AVAILABLE, yd->session_id);
396 yahoo_packet_hash_str(pkt, 49, "IMVIRONMENT"); 396 yahoo_packet_hash_str(pkt, 49, "IMVIRONMENT");
397 yahoo_packet_hash_str(pkt, 1, purple_account_get_username(gc->account)); 397 yahoo_packet_hash_str(pkt, 1, purple_account_get_username(gc->account));
398 yahoo_packet_hash_str(pkt, 14, message); 398 yahoo_packet_hash_str(pkt, 14, message);
399 yahoo_packet_hash_int(pkt, 13, command); 399 yahoo_packet_hash_int(pkt, 13, command);
400 yahoo_packet_hash_str(pkt, 5, to); 400 yahoo_packet_hash_str(pkt, 5, to);