comparison libpurple/protocols/oscar/oscar.c @ 30571:17d5518c5cad

Copy the third hunk from 3c30f64efedafc379b6536852bbb3b6ef5f1f6c9 to trunk Somehow this didn't get propagated in bcae499af351044e047d297b8032fa4dca99c147 So recent official ICQ clients display our HTML tags :-( Refs #11863
author Mark Doliner <mark@kingant.net>
date Mon, 31 May 2010 18:14:40 +0000
parents f18b6eb0ed02
children 89de882d25b1 a47346a46cb7 674a656893a3
comparison
equal deleted inserted replaced
30570:8e954dc23fe0 30571:17d5518c5cad
4649 if (oscar_util_valid_name_sms(name)) { 4649 if (oscar_util_valid_name_sms(name)) {
4650 /* Messaging an SMS (mobile) user--strip HTML */ 4650 /* Messaging an SMS (mobile) user--strip HTML */
4651 tmp2 = purple_markup_strip_html(tmp1); 4651 tmp2 = purple_markup_strip_html(tmp1);
4652 is_html = FALSE; 4652 is_html = FALSE;
4653 } else { 4653 } else {
4654 tmp2 = g_strdup(tmp1); 4654 /* ICQ 6 wants its HTML wrapped in these tags. Oblige it. */
4655 tmp2 = g_strdup_printf("<HTML><BODY>%s</BODY></HTML>", tmp1);
4655 is_html = TRUE; 4656 is_html = TRUE;
4656 } 4657 }
4657 g_free(tmp1); 4658 g_free(tmp1);
4658 tmp1 = tmp2; 4659 tmp1 = tmp2;
4659 4660