As XMPP does, prefix away messages with the status name in oscar user info

Sun, 08 Jun 2008 16:02:46 +0000

author
Evan Schoenberg <evands@pidgin.im>
date
Sun, 08 Jun 2008 16:02:46 +0000
changeset 23462
30de01dfe3f2
parent 23460
d44927cb29cb
child 23463
296f09306ca3

As XMPP does, prefix away messages with the status name in oscar user info

libpurple/protocols/oscar/oscar.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/oscar/oscar.c	Sat Jun 07 20:37:46 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Sun Jun 08 16:02:46 2008 +0000
@@ -871,8 +871,8 @@
 
 	if (b) {
 		if (purple_presence_is_online(presence)) {
-			if (aim_snvalid_icq(b->name) || !message || !(*message)) {
-				/* Append the status name for online ICQ statuses and for all buddies with no message.
+			if (aim_snvalid_icq(b->name) || is_away || !message || !(*message)) {
+				/* Append the status name for online ICQ statuses, away AIM statuses, and for all buddies with no message.
 				 * If the status name and the message are the same, only show one. */
 				const char *status_name = purple_status_get_name(status);
 				if (status_name && message && !strcmp(status_name, message))

mercurial