# HG changeset patch # User Elliott Sales de Andrade # Date 1314156647 0 # Node ID 56ef2369f330387a471c2249146683c571c05b75 # Parent 4ba344c46349d631a8ca6a864b472f0a74956012 Fix the _add_pair_html/plaintext calls. diff -r 4ba344c46349 -r 56ef2369f330 libpurple/protocols/msn/msn.c --- a/libpurple/protocols/msn/msn.c Wed Aug 24 03:16:23 2011 +0000 +++ b/libpurple/protocols/msn/msn.c Wed Aug 24 03:30:47 2011 +0000 @@ -1101,8 +1101,6 @@ } if (currentmedia) { - /* TODO: Check whether it's correct to call add_pair_html, - or if we should be using add_pair_plaintext */ purple_notify_user_info_add_pair_html(user_info, mediatype, currentmedia); g_free(currentmedia); } @@ -1129,23 +1127,17 @@ phone = msn_user_get_home_phone(user); if (phone != NULL) { - /* TODO: Check whether it's correct to call add_pair_html, - or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair_html(user_info, _("Home Phone Number"), phone); + purple_notify_user_info_add_pair_plaintext(user_info, _("Home Phone Number"), phone); } phone = msn_user_get_work_phone(user); if (phone != NULL) { - /* TODO: Check whether it's correct to call add_pair_html, - or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair_html(user_info, _("Work Phone Number"), phone); + purple_notify_user_info_add_pair_plaintext(user_info, _("Work Phone Number"), phone); } phone = msn_user_get_mobile_phone(user); if (phone != NULL) { - /* TODO: Check whether it's correct to call add_pair_html, - or if we should be using add_pair_plaintext */ - purple_notify_user_info_add_pair_html(user_info, _("Mobile Phone Number"), phone); + purple_notify_user_info_add_pair_plaintext(user_info, _("Mobile Phone Number"), phone); } } }