Mercurial > pidgin
diff src/account.c @ 10052:eaec201b2688
[gaim-migrate @ 11013]
More rockin status stuff from Dave West!
Things are beginning to shape up quite well.
Dave, again, sorry it took me a week to get to this. Girl waits for no man.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 19 Sep 2004 21:19:55 +0000 |
| parents | a38881ec9c0f |
| children | 39142bdd5ba6 |
line wrap: on
line diff
--- a/src/account.c Sun Sep 19 21:14:28 2004 +0000 +++ b/src/account.c Sun Sep 19 21:19:55 2004 +0000 @@ -152,14 +152,16 @@ account->presence = gaim_presence_new_for_account(account); prpl = gaim_find_prpl(gaim_account_get_protocol_id(account)); - + if (prpl == NULL) return account; - + prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl); if ( prpl_info != NULL && prpl_info->status_types != NULL ) gaim_account_set_status_types(account, prpl_info->status_types(account)); + gaim_presence_set_status_active(account->presence, "offline", TRUE); + return account; }
