libpurple/protocols/yahoo/yahoo.c

branch
cpw.attention_ui
changeset 26837
2c3279eb393d
parent 26799
cce88cc18d12
parent 26795
e09a6fd69ee7
child 26978
682fd6e01025
--- a/libpurple/protocols/yahoo/yahoo.c	Tue Apr 21 22:17:18 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Wed Apr 22 07:56:16 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);
@@ -5111,6 +5113,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