Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/yahoo.c @ 29676:ae24e54a5014
propagate from branch 'im.pidgin.pidgin' (head 1890ad1259c93f5ad18ceb3365717ebc43b30198)
to branch 'im.pidgin.cpw.attention_ui' (head b3be679bb2671eeaa83aae11c9d39e209f999b5d)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Sat, 04 Apr 2009 10:51:12 +0000 |
parents | 38238d41923b 9407348dc714 |
children | e57315a062cb |
comparison
equal
deleted
inserted
replaced
26511:f171707b7d54 | 29676:ae24e54a5014 |
---|---|
1037 username = g_markup_escape_text(msn_from, -1); | 1037 username = g_markup_escape_text(msn_from, -1); |
1038 else | 1038 else |
1039 username = g_markup_escape_text(im->from, -1); | 1039 username = g_markup_escape_text(im->from, -1); |
1040 | 1040 |
1041 purple_prpl_got_attention(gc, username, YAHOO_BUZZ); | 1041 purple_prpl_got_attention(gc, username, YAHOO_BUZZ); |
1042 purple_conversation_attention(c, username, 0, PURPLE_MESSAGE_RECV, | |
1043 time(NULL)); | |
1042 g_free(username); | 1044 g_free(username); |
1043 g_free(m); | 1045 g_free(m); |
1044 g_free(im); | 1046 g_free(im); |
1045 g_free(msn_from); | 1047 g_free(msn_from); |
1046 continue; | 1048 continue; |
5107 | 5109 |
5108 if (*args && args[0]) | 5110 if (*args && args[0]) |
5109 return PURPLE_CMD_RET_FAILED; | 5111 return PURPLE_CMD_RET_FAILED; |
5110 | 5112 |
5111 purple_prpl_send_attention(account->gc, c->name, YAHOO_BUZZ); | 5113 purple_prpl_send_attention(account->gc, c->name, YAHOO_BUZZ); |
5114 purple_conversation_attention(c, c->name, 0, PURPLE_MESSAGE_SEND, time(NULL)); | |
5112 | 5115 |
5113 return PURPLE_CMD_RET_OK; | 5116 return PURPLE_CMD_RET_OK; |
5114 } | 5117 } |
5115 | 5118 |
5116 static PurplePlugin *my_protocol = NULL; | 5119 static PurplePlugin *my_protocol = NULL; |