Changeset - cf53da03dcda
[Not reviewed]
0 1 0
HanzZ - 14 years ago 2011-04-03 00:05:41
hanzz.k@gmail.com
Strip messages from libpurple before passing them to libtransport
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
spectrum/src/main.cpp
Show inline comments
 
@@ -173,7 +173,10 @@ static void conv_write_im(PurpleConversation *conv, const char *who, const char
 
		return;
 

	
 
	boost::shared_ptr<Swift::Message> msg(new Swift::Message());
 

	
 
	char *striped = purple_markup_strip_html(message);
 
	msg->setBody(message);
 
	g_free(striped);
 

	
 
	s_conv->handleMessage(msg);
 
}
0 comments (0 inline, 0 general)