diff pidgin/plugins/convcolors.c @ 15420:b25a5eddff9c

Fix convcolors to not unlinkify the links.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 26 Jan 2007 03:53:15 +0000
parents 5fe8042783c1
children ce0cd7474b64
line wrap: on
line diff
--- a/pidgin/plugins/convcolors.c	Fri Jan 26 03:39:39 2007 +0000
+++ b/pidgin/plugins/convcolors.c	Fri Jan 26 03:53:15 2007 +0000
@@ -124,6 +124,10 @@
 		t = *displaying;
 		*displaying = gaim_markup_strip_html(t);
 		g_free(t);
+		/* Restore the links */
+		t = *displaying;
+		*displaying = gaim_markup_linkify(t);
+		g_free(t);
 	}
 
 	if (color && *color)