aboutsummaryrefslogtreecommitdiffstats
path: root/main/pidgin/icq_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/pidgin/icq_fix.patch')
-rw-r--r--main/pidgin/icq_fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/main/pidgin/icq_fix.patch b/main/pidgin/icq_fix.patch
new file mode 100644
index 0000000000..8bb87ef860
--- /dev/null
+++ b/main/pidgin/icq_fix.patch
@@ -0,0 +1,19 @@
+#
+#
+# patch "libpurple/protocols/oscar/oscar.c"
+# from [b448ff8a14ab7db9b3ad6ce2c8f17cac8159f702]
+# to [6b8b45623896204448ac4b212a0c631655822ad1]
+#
+============================================================
+--- libpurple/protocols/oscar/oscar.c b448ff8a14ab7db9b3ad6ce2c8f17cac8159f702
++++ libpurple/protocols/oscar/oscar.c 6b8b45623896204448ac4b212a0c631655822ad1
+@@ -4651,7 +4651,8 @@ oscar_send_im(PurpleConnection *gc, cons
+ tmp2 = purple_markup_strip_html(tmp1);
+ is_html = FALSE;
+ } else {
+- tmp2 = g_strdup(tmp1);
++ /* ICQ 6 wants its HTML wrapped in these tags. Oblige it. */
++ tmp2 = g_strdup_printf("<HTML><BODY>%s</BODY></HTML>", tmp1);
+ is_html = TRUE;
+ }
+ g_free(tmp1);