libpurple/protocols/yahoo/yahoo.c

branch
cpw.attention_ui
changeset 26680
406180d6ac3c
parent 26399
8917621d00e2
parent 26678
9d09c2d90e26
child 26795
e09a6fd69ee7
--- a/libpurple/protocols/yahoo/yahoo.c	Fri Apr 03 20:46:31 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Sat Apr 04 10:51:12 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