Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 14180:45818acef0eb
[gaim-migrate @ 16830]
Patch from Henning Norn to not show ICQ users as
"pending" when they are away without a message
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 18 Aug 2006 05:59:47 +0000 |
parents | 6a19a83ed49f |
children | bf7a02c6bb00 |
comparison
equal
deleted
inserted
replaced
14179:db2d55d332d6 | 14180:45818acef0eb |
---|---|
2884 message = oscar_encoding_to_utf8(charset, userinfo->away, userinfo->away_len); | 2884 message = oscar_encoding_to_utf8(charset, userinfo->away, userinfo->away_len); |
2885 g_free(charset); | 2885 g_free(charset); |
2886 gaim_status_set_attr_string(status, "message", message); | 2886 gaim_status_set_attr_string(status, "message", message); |
2887 g_free(message); | 2887 g_free(message); |
2888 } | 2888 } |
2889 else | |
2890 /* Set an empty message so that we know not to show "pending" */ | |
2891 gaim_status_set_attr_string(status, "message", message); | |
2889 | 2892 |
2890 gaim_blist_update_buddy_status(b, status); | 2893 gaim_blist_update_buddy_status(b, status); |
2891 } | 2894 } |
2892 | 2895 |
2893 return 1; | 2896 return 1; |