diff --git a/backends/libpurple/main.cpp b/backends/libpurple/main.cpp index b87c39b8f2c494d2632ae11cba55f9ba4e1d4823..eda60eff99355713226528babe13a2d3db012dad 100644 --- a/backends/libpurple/main.cpp +++ b/backends/libpurple/main.cpp @@ -738,6 +738,14 @@ static void conv_write_im(PurpleConversation *conv, const char *who, const char g_free(xhtml_linkified); g_free(strip); + // AIM and XMPP adds ... here... + if (xhtml_.find("") == 0) { + xhtml_ = xhtml_.substr(6); + if (xhtml_.find("") != std::string::npos) { + xhtml_ = xhtml_.substr(0, xhtml_.find("")); + } + } + if (xhtml_ == message_) { xhtml_ = ""; }