Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/oscar.c @ 16083:f2a4b05407d7
Patch from shlomil in ticket #78.
This fixes RTL text support in MSN, and lays the framework so it could be
supported in other prpls as well. As added pluses, shlomil removed some
duplicate code and fixed some small related bugs.
committer: Richard Laager <rlaager@wiktel.com>
author | Shlomi Loubaton <shlomister@gmail.com> |
---|---|
date | Fri, 13 Apr 2007 04:13:24 +0000 |
parents | fa8aeab4ca5a |
children | 96a8e57cf0ca |
comparison
equal
deleted
inserted
replaced
16082:7a7377a86ad1 | 16083:f2a4b05407d7 |
---|---|
4296 /* | 4296 /* |
4297 * If we're IMing an SMS user or an ICQ user from an ICQ account, then strip HTML. | 4297 * If we're IMing an SMS user or an ICQ user from an ICQ account, then strip HTML. |
4298 */ | 4298 */ |
4299 if (aim_sn_is_sms(name)) { | 4299 if (aim_sn_is_sms(name)) { |
4300 /* Messaging an SMS (mobile) user */ | 4300 /* Messaging an SMS (mobile) user */ |
4301 tmp2 = purple_unescape_html(tmp1); | 4301 tmp2 = purple_markup_strip_html(tmp1); |
4302 } else if (aim_sn_is_icq(purple_account_get_username(account))) { | 4302 } else if (aim_sn_is_icq(purple_account_get_username(account))) { |
4303 if (aim_sn_is_icq(name)) | 4303 if (aim_sn_is_icq(name)) |
4304 /* From ICQ to ICQ */ | 4304 /* From ICQ to ICQ */ |
4305 tmp2 = purple_unescape_html(tmp1); | 4305 tmp2 = purple_markup_strip_html(tmp1); |
4306 else | 4306 else |
4307 /* From ICQ to AIM */ | 4307 /* From ICQ to AIM */ |
4308 tmp2 = g_strdup(tmp1); | 4308 tmp2 = g_strdup(tmp1); |
4309 } else { | 4309 } else { |
4310 /* From AIM to AIM and AIM to ICQ */ | 4310 /* From AIM to AIM and AIM to ICQ */ |