comparison libpurple/protocols/yahoo/yahoo.c @ 29679:e57315a062cb

propagate from branch 'im.pidgin.pidgin' (head 580055bb22fea0076d3a90d9df9346abd1789bab) to branch 'im.pidgin.cpw.attention_ui' (head 89303c99f052c92262b6a169005f053106ce8f61)
author Marcus Lundblad <ml@update.uu.se>
date Mon, 13 Apr 2009 13:37:33 +0000
parents 98d8c336234d ae24e54a5014
children ce876e58cf6a
comparison
equal deleted inserted replaced
26648:8c3b1a059ecc 29679:e57315a062cb
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;