pidgin: 9ec416e2: As XMPP does, prefix away messages with ...

evands at pidgin.im evands at pidgin.im
Sun Jun 8 12:05:54 EDT 2008


-----------------------------------------------------------------
Revision: 9ec416e2eb1f0572caf75fe80faa283d3b57deac
Ancestor: c4bc1dcd8ef47d0f4cf6192dc1a7a3a05d49f54a
Author: evands at pidgin.im
Date: 2008-06-08T16:02:46
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9ec416e2eb1f0572caf75fe80faa283d3b57deac

Modified files:
        libpurple/protocols/oscar/oscar.c

ChangeLog: 

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

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	8258216181efebb2d6a59453bcfa6d25e1c013b1
+++ libpurple/protocols/oscar/oscar.c	71e09c3ab31efa32899aa3a00d4c07b7920758af
@@ -871,8 +871,8 @@ static void oscar_user_info_append_statu
 
 	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))


More information about the Commits mailing list