libpurple/protocols/yahoo/yahoo.c

branch
cpw.attention_ui
changeset 27209
96d8ab6a8320
parent 27107
0fb80407e8c5
parent 27208
bbc2f4ab5ae2
child 27321
98f2f5ce5085
--- a/libpurple/protocols/yahoo/yahoo.c	Sun May 17 13:07:34 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Sun May 17 19:04:40 2009 +0000
@@ -1037,6 +1037,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);
@@ -4796,6 +4798,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