[gaim-migrate @ 1899]

Thu, 24 May 2001 21:12:36 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Thu, 24 May 2001 21:12:36 +0000
changeset 1889
3084b2e1dd99
parent 1888
ce09875528c4
child 1890
774704162481

[gaim-migrate @ 1899]
don't linkify urls for non-html-enabled protocols

src/conversation.c file | annotate | diff | comparison | revisions
--- a/src/conversation.c	Thu May 24 21:08:24 2001 +0000
+++ b/src/conversation.c	Thu May 24 21:12:36 2001 +0000
@@ -772,12 +772,12 @@
 		return;
 	}
 
-	if (general_options & OPT_GEN_SEND_LINKS)
-		linkify_text(buf);
-
 	buf2 = g_malloc(limit);
 
 	if (c->gc->prpl->options & OPT_PROTO_HTML) {
+		if (general_options & OPT_GEN_SEND_LINKS)
+			linkify_text(buf);
+
 		if (font_options & OPT_FONT_BOLD) {
 			g_snprintf(buf2, limit, "<B>%s</B>", buf);
 			strcpy(buf, buf2);

mercurial