Hi, I was debugging bug http://bugs.kde.org/show_bug.cgi?id=182114 and found out that it's caused by OTR plugin. The problem is in OtrMessageHandler::handleMessage.
It converts the message to plaintext so the formatting and emoticon images are lost. The toPlainText function also changes the img tag to QChar(0xFFFC) so for instance if the original html message is "xx <img ... > xx" then after calling that function it's "xx 0 xx" where 0 is QChar(0xFFFC) and if the message contains 0xFFFC and we call the msg.setHtmlBody( body ); then toHtml of QTextDocument returns empty string. All this happens even if the OTR session isn't established (just the plugin is enabled) I don't know anything about the OTR plugin so could you please look at that bug. It would be great to not overwrite the message with plain text if it isn't OTR message. Regards, Roman _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel