Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/oscar.c @ 23320:c200661b5c5c
As XMPP does, prefix away messages with the status name in oscar user info
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sun, 08 Jun 2008 16:02:46 +0000 |
parents | b3ec26e66e26 |
children | 96dd27f5b45b 81ebe4fac9ce |
comparison
equal
deleted
inserted
replaced
23319:d4cc956acb37 | 23320:c200661b5c5c |
---|---|
869 message = tmp; | 869 message = tmp; |
870 } | 870 } |
871 | 871 |
872 if (b) { | 872 if (b) { |
873 if (purple_presence_is_online(presence)) { | 873 if (purple_presence_is_online(presence)) { |
874 if (aim_snvalid_icq(b->name) || !message || !(*message)) { | 874 if (aim_snvalid_icq(b->name) || is_away || !message || !(*message)) { |
875 /* Append the status name for online ICQ statuses and for all buddies with no message. | 875 /* Append the status name for online ICQ statuses, away AIM statuses, and for all buddies with no message. |
876 * If the status name and the message are the same, only show one. */ | 876 * If the status name and the message are the same, only show one. */ |
877 const char *status_name = purple_status_get_name(status); | 877 const char *status_name = purple_status_get_name(status); |
878 if (status_name && message && !strcmp(status_name, message)) | 878 if (status_name && message && !strcmp(status_name, message)) |
879 status_name = NULL; | 879 status_name = NULL; |
880 | 880 |