Mercurial > pidgin
comparison src/protocols/msn/msn.c @ 10738:55af3fa46329
[gaim-migrate @ 12340]
Lots of changes here. A lot of it stems from chaning
gaim_account_connect() so that it DOES NOT have the GaimStatus
parameter. It will attempt to use the GaimStatus of your
account from the last time it was connected (which doesn't
work quite right yet).
My goal here was to save and load each account's GaimStatuses
to accounts.xml, so if you were "away" when you signed off then
you'll be "away" when you sign back on. Not quite there yet.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 26 Mar 2005 20:08:43 +0000 |
parents | c4cb90065e1d |
children | 888d4c328be5 |
comparison
equal
deleted
inserted
replaced
10737:b7f0bc436179 | 10738:55af3fa46329 |
---|---|
829 state = gaim_status_get_id(status); | 829 state = gaim_status_get_id(status); |
830 | 830 |
831 gaim_debug_info("msn", "Set status to %s\n", gaim_status_get_name(status)); | 831 gaim_debug_info("msn", "Set status to %s\n", gaim_status_get_name(status)); |
832 | 832 |
833 if (strcmp(state, "offline") && !gc) { | 833 if (strcmp(state, "offline") && !gc) { |
834 gaim_account_connect(account, status); | 834 gaim_account_connect(account); |
835 return; | 835 return; |
836 } | 836 } |
837 else if (!strcmp(state, "away")) | 837 else if (!strcmp(state, "away")) |
838 msnstatus = MSN_AWAY; | 838 msnstatus = MSN_AWAY; |
839 else if (!strcmp(state, "brb")) | 839 else if (!strcmp(state, "brb")) |