diff libpurple/protocols/jabber/chat.c @ 27854:fdf1f64de3a0

Set XMPP chat topic when it contains a < followed by a character. Closes #5712.
author Paul Aurich <paul@darkrain42.org>
date Fri, 07 Aug 2009 04:29:55 +0000
parents e90fa379fcec
children 22ae131b8a0c
line wrap: on
line diff
--- a/libpurple/protocols/jabber/chat.c	Fri Aug 07 04:21:51 2009 +0000
+++ b/libpurple/protocols/jabber/chat.c	Fri Aug 07 04:29:55 2009 +0000
@@ -605,7 +605,7 @@
 	jm->to = g_strdup_printf("%s@%s", chat->room, chat->server);
 
 	if (topic && *topic)
-		jm->subject = purple_markup_strip_html(topic);
+		jm->subject = g_strdup(topic);
 	else
 		jm->subject = g_strdup("");