comparison libpurple/protocols/yahoo/libymsg.c @ 29704:9198a5d39c5c

Let _got_attention call _conversation_attention, instead of having prpls do it on incoming attentions
author Marcus Lundblad <ml@update.uu.se>
date Mon, 16 Nov 2009 20:45:56 +0000
parents 9bc902d88fa2
children 163f6c3cbdd9
comparison
equal deleted inserted replaced
29703:974748d0e1f2 29704:9198a5d39c5c
1121 1121
1122 username = g_markup_escape_text(im->fed_from, -1); 1122 username = g_markup_escape_text(im->fed_from, -1);
1123 conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_ANY, 1123 conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_ANY,
1124 username, account); 1124 username, account);
1125 purple_prpl_got_attention(gc, username, YAHOO_BUZZ); 1125 purple_prpl_got_attention(gc, username, YAHOO_BUZZ);
1126 if (conv) {
1127 purple_conversation_attention(conv, username, 0, PURPLE_MESSAGE_RECV,
1128 time(NULL));
1129 }
1130 g_free(username); 1126 g_free(username);
1131 g_free(m); 1127 g_free(m);
1132 g_free(im->fed_from); 1128 g_free(im->fed_from);
1133 g_free(im); 1129 g_free(im);
1134 continue; 1130 continue;