Mercurial > pidgin
comparison src/protocols/oscar/oscar.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 | 94cc67130789 |
comparison
equal
deleted
inserted
replaced
10737:b7f0bc436179 | 10738:55af3fa46329 |
---|---|
5854 | 5854 |
5855 if (!gaim_status_is_active(status)) | 5855 if (!gaim_status_is_active(status)) |
5856 return; | 5856 return; |
5857 | 5857 |
5858 if (primitive == !GAIM_STATUS_OFFLINE && !gc) { | 5858 if (primitive == !GAIM_STATUS_OFFLINE && !gc) { |
5859 gaim_account_connect(account, status); | 5859 gaim_account_connect(account); |
5860 } else if (primitive == GAIM_STATUS_OFFLINE && gc) { | 5860 } else if (primitive == GAIM_STATUS_OFFLINE && gc) { |
5861 gaim_account_disconnect(account); | 5861 gaim_account_disconnect(account); |
5862 } else { | 5862 } else { |
5863 | 5863 |
5864 if (aim_sn_is_icq(gaim_account_get_username(account))) | 5864 if (aim_sn_is_icq(gaim_account_get_username(account))) |