# HG changeset patch # User Daniel Atallah # Date 1178251334 0 # Node ID 86ba72a2b31e0a7431ab26148b506757360addd4 # Parent ec79e3ad09a9ee8599cd996c52dbba1c88299520# Parent f51f1937d97f7b3d4ab61a14648478522aafe00c merge of '27e1df003532e1209f1f56770923ca4c7674d7ca' and 'ace1e60dda39081ec5404dfa76fa55f79b3e30c6' diff -r ec79e3ad09a9 -r 86ba72a2b31e NEWS --- a/NEWS Fri May 04 04:01:23 2007 +0000 +++ b/NEWS Fri May 04 04:02:14 2007 +0000 @@ -26,6 +26,17 @@ creep. As Luke said, a ton of thought and effort has gone into Pidgin 2.0.0; I'm proud to have played a part. + Stu: We did it! finally, we have 2.0.0. It's been a long time coming, + but there's a great deal of goodness here. When I say a long time, I'm + not kidding - it's been 972 days since we branched off "oldstatus" + (aka 1.x). The early Greeks were uncertain as to whether 2 was a + number at all (or if we'd ever make this release) - it has a beginning + and an end but no middle (much like our unfortunately quiet development + period). 2 is the first prime number and the only even prime. 2 is also + the first deficient number (oh well). There are only 10 types of people + in the world - those who like our new names and those who do not. + Enjoy! + 2.0.0beta7 (4/29/2007): Sean: Beta 7. The final beta. A few major changes from beta6. For starters, we have some new names. That's pretty cool. We have a new diff -r ec79e3ad09a9 -r 86ba72a2b31e libpurple/protocols/msn/msn.c --- a/libpurple/protocols/msn/msn.c Fri May 04 04:01:23 2007 +0000 +++ b/libpurple/protocols/msn/msn.c Fri May 04 04:02:14 2007 +0000 @@ -368,6 +368,14 @@ data); } +static gboolean +msn_offline_message(const PurpleBuddy *buddy) { + if (buddy == NULL) + return FALSE; + MsnUser *user = buddy->proto_data; + return user && user->mobile; +} + static void initiate_chat_cb(PurpleBlistNode *node, gpointer data) { @@ -2065,7 +2073,7 @@ msn_can_receive_file, /* can_receive_file */ msn_send_file, /* send_file */ msn_new_xfer, /* new_xfer */ - NULL, /* offline_message */ + msn_offline_message, /* offline_message */ NULL, /* whiteboard_prpl_ops */ NULL, /* send_raw */ NULL, /* roomlist_room_serialize */ diff -r ec79e3ad09a9 -r 86ba72a2b31e libpurple/protocols/msn/user.c --- a/libpurple/protocols/msn/user.c Fri May 04 04:01:23 2007 +0000 +++ b/libpurple/protocols/msn/user.c Fri May 04 04:02:14 2007 +0000 @@ -83,7 +83,7 @@ if (user->status != NULL) { if (!strcmp(user->status, "offline") && user->mobile) { - purple_prpl_got_user_status(account, user->passport, "available", NULL); + purple_prpl_got_user_status(account, user->passport, "offline", NULL); purple_prpl_got_user_status(account, user->passport, "mobile", NULL); } else { purple_prpl_got_user_status(account, user->passport, user->status, NULL);