comparison libpurple/protocols/msn/msn.c @ 32379:0cc718e10344

Actually commit the purple_notify_user_info_prepend_pair_plaintext function. I think I left it off my previous commit? Sorry. And rename purple_notify_user_info_prepend_pair to purple_notify_user_info_prepend_pair_html_html
author Mark Doliner <mark@kingant.net>
date Mon, 22 Aug 2011 06:32:44 +0000
parents 99ca503ea087
children 56ef2369f330
comparison
equal deleted inserted replaced
32378:090736a289da 32379:0cc718e10344
2810 { 2810 {
2811 char buf[1024]; 2811 char buf[1024];
2812 purple_debug_info("msn", "%s is %" G_GSIZE_FORMAT " bytes\n", photo_url_text, len); 2812 purple_debug_info("msn", "%s is %" G_GSIZE_FORMAT " bytes\n", photo_url_text, len);
2813 id = purple_imgstore_add_with_id(g_memdup(url_text, len), len, NULL); 2813 id = purple_imgstore_add_with_id(g_memdup(url_text, len), len, NULL);
2814 g_snprintf(buf, sizeof(buf), "<img id=\"%d\"><br>", id); 2814 g_snprintf(buf, sizeof(buf), "<img id=\"%d\"><br>", id);
2815 purple_notify_user_info_prepend_pair(user_info, NULL, buf); 2815 purple_notify_user_info_prepend_pair_html(user_info, NULL, buf);
2816 } 2816 }
2817 } 2817 }
2818 2818
2819 /* We continue here from msn_got_info, as if nothing has happened */ 2819 /* We continue here from msn_got_info, as if nothing has happened */
2820 #endif 2820 #endif