libpurple/protocols/yahoo/yahoo.c

branch
cpw.attention_ui
changeset 26795
e09a6fd69ee7
parent 26770
19f31dff1150
parent 26680
406180d6ac3c
child 26837
2c3279eb393d
--- a/libpurple/protocols/yahoo/yahoo.c	Sun Apr 12 23:57:27 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Mon Apr 13 13:37:33 2009 +0000
@@ -1039,6 +1039,8 @@
 				username = g_markup_escape_text(im->from, -1);
 			
 			purple_prpl_got_attention(gc, username, YAHOO_BUZZ);
+			purple_conversation_attention(c, username, 0, PURPLE_MESSAGE_RECV,
+				time(NULL));
 			g_free(username);
 			g_free(m);
 			g_free(im);
@@ -5109,6 +5111,7 @@
 		return PURPLE_CMD_RET_FAILED;
 
 	purple_prpl_send_attention(account->gc, c->name, YAHOO_BUZZ);
+	purple_conversation_attention(c, c->name, 0, PURPLE_MESSAGE_SEND, time(NULL));
 
 	return PURPLE_CMD_RET_OK;
 }

mercurial