Strip messages from libpurple before passing them to libtransport
This commit is contained in:
parent
c8006a0eba
commit
cf53da03dc
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue