Mercurial > pidgin
diff src/server.c @ 8882:25344c2d74c4
[gaim-migrate @ 9651]
Eradicate "Show URLs as links"
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 06 May 2004 04:58:49 +0000 |
parents | b8c0a53b3022 |
children | dd6b4f259f5b |
line wrap: on
line diff
--- a/src/server.c Thu May 06 04:44:33 2004 +0000 +++ b/src/server.c Thu May 06 04:58:49 2004 +0000 @@ -885,15 +885,10 @@ message = buffy; - /* - * If you can't figure this out, stop reading right now. - * "We're not worthy! We're not worthy!" - */ - if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_urls_as_links")) { - buffy = gaim_markup_linkify(message); - g_free(message); - message = buffy; - } + /* Make sure URLs are clickable */ + buffy = gaim_markup_linkify(message); + g_free(message); + message = buffy; /* * Um. When we call gaim_conversation_write with the message we received, @@ -1555,12 +1550,8 @@ who = angel; message = buffy; - - - if (gaim_prefs_get_bool("/gaim/gtk/conversations/show_urls_as_links")) - buf = gaim_markup_linkify(message); - else - buf = g_strdup(message); + /* Make sure URLs are clickable */ + buf = gaim_markup_linkify(message); if (whisper) w = GAIM_MESSAGE_WHISPER;