Mercurial > pidgin
changeset 15012:4b7065af8549
[gaim-migrate @ 17793]
I think that setting info on connection is an AIM-specific thing. Jabber, at least,
has the server save the vcard and you should only set it when it changes. Setting
it on connection can break things.
If you know another protocol that requires info to be set on connection, please
add it to that prpl.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 20 Nov 2006 22:39:08 +0000 |
parents | aca1bd4db9e8 |
children | b188da596c46 |
files | libgaim/connection.c libgaim/protocols/oscar/oscar.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libgaim/connection.c Mon Nov 20 22:00:31 2006 +0000 +++ b/libgaim/connection.c Mon Nov 20 22:39:08 2006 +0000 @@ -309,9 +309,6 @@ serv_set_permit_deny(gc); update_keepalive(gc, TRUE); - - if (gaim_account_get_user_info(account) != NULL) - serv_set_info(gc, gaim_account_get_user_info(account)); } else if (gc->state == GAIM_DISCONNECTED) { GaimAccount *account = gaim_connection_get_account(gc);
--- a/libgaim/protocols/oscar/oscar.c Mon Nov 20 22:00:31 2006 +0000 +++ b/libgaim/protocols/oscar/oscar.c Mon Nov 20 22:39:08 2006 +0000 @@ -3533,6 +3533,9 @@ aim_clientready(od, conn); + if (gaim_account_get_user_info(account) != NULL) + serv_set_info(gc, gaim_account_get_user_info(account)); + /* Set our available message based on the current status */ status = gaim_account_get_active_status(account); if (gaim_status_is_available(status))