Mercurial > pidgin
changeset 10152:3cec08c6179c
[gaim-migrate @ 11229]
If it's "probably" not good, then it's "probably" not a good idea to do it.
So don't.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 02 Nov 2004 03:17:06 +0000 |
parents | d83e6f2125b1 |
children | 0b43f6fef9b5 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sat Oct 30 02:28:50 2004 +0000 +++ b/src/protocols/oscar/oscar.c Tue Nov 02 03:17:06 2004 +0000 @@ -4707,6 +4707,7 @@ static int gaim_selfinfo(aim_session_t *sess, aim_frame_t *fr, ...) { GaimConnection *gc = sess->aux_data; GaimAccount *account = gaim_connection_get_account(gc); + GaimPresence *presence = gaim_account_get_presence(account); int warning_level; va_list ap; aim_userinfo_t *info; @@ -4717,12 +4718,7 @@ warning_level = info->warnlevel/10.0 + 0.5; - /* - * XXX - Calling this is probably not good. We just want to set the - * warning level for our account, not tell the user that we were just - * warned. - */ - gaim_prpl_got_account_warning_level(account, NULL, warning_level); + gaim_presence_set_warning_level(presence, warning_level); return 1; }