Mercurial > pidgin
comparison libpurple/protocols/msn/notification.c @ 20534:7e69275a4eef
oim migrated to new soap code, quadruply duplicated message!
the timestamp seems to be off too, but I didn't change that part at all, I
need to sleep now though
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Mon, 01 Oct 2007 07:20:35 +0000 |
parents | 723b5a2f91ce |
children | c49b886231d5 |
comparison
equal
deleted
inserted
replaced
20533:66921a5c9ae9 | 20534:7e69275a4eef |
---|---|
419 } | 419 } |
420 else | 420 else |
421 { | 421 { |
422 g_return_if_fail(cmd->payload_cb != NULL); | 422 g_return_if_fail(cmd->payload_cb != NULL); |
423 | 423 |
424 purple_debug_info("valgrind", "MSG len: %d [%c] [%c]\n", cmd->payload_len, cmd->payload[cmd->payload_len - 2], cmd->payload[cmd->payload_len - 1]); | |
424 purple_debug_info("MSNP14","MSG payload:{%s}\n",cmd->payload); | 425 purple_debug_info("MSNP14","MSG payload:{%s}\n",cmd->payload); |
425 cmd->payload_cb(cmdproc, cmd, cmd->payload, cmd->payload_len); | 426 cmd->payload_cb(cmdproc, cmd, cmd->payload, cmd->payload_len); |
426 } | 427 } |
427 } | 428 } |
428 | 429 |
1799 if (strcmp(msg->remote_user, "Hotmail")) | 1800 if (strcmp(msg->remote_user, "Hotmail")) |
1800 /* This isn't an official message. */ | 1801 /* This isn't an official message. */ |
1801 return; | 1802 return; |
1802 | 1803 |
1803 /*new a oim session*/ | 1804 /*new a oim session*/ |
1804 session->oim = msn_oim_new(session); | 1805 // session->oim = msn_oim_new(session); |
1805 // msn_oim_connect(session->oim); | 1806 // msn_oim_connect(session->oim); |
1806 | 1807 |
1807 table = msn_message_get_hashtable_from_body(msg); | 1808 table = msn_message_get_hashtable_from_body(msg); |
1808 | 1809 |
1809 mdata = g_hash_table_lookup(table, "Mail-Data"); | 1810 mdata = g_hash_table_lookup(table, "Mail-Data"); |