disabled emoticon replacement in GxsChannelPostItem and chat lobby toaster and chat toaster, where there are not needed as compare to how problematic they can be

This commit is contained in:
csoler 2017-01-19 14:01:54 +01:00
parent cb61d58b12
commit f3b3d2b262
3 changed files with 9 additions and 3 deletions

View file

@ -199,7 +199,9 @@ QString GxsChannelPostItem::getTitleLabel()
QString GxsChannelPostItem::getMsgLabel()
{
return RsHtml().formatText(NULL, QString::fromUtf8(mPost.mMsg.c_str()), RSHTML_FORMATTEXT_EMBED_SMILEYS | RSHTML_FORMATTEXT_EMBED_LINKS);
//return RsHtml().formatText(NULL, QString::fromUtf8(mPost.mMsg.c_str()), RSHTML_FORMATTEXT_EMBED_SMILEYS | RSHTML_FORMATTEXT_EMBED_LINKS);
// Disabled, because emoticon replacement kills performance.
return QString::fromUtf8(mPost.mMsg.c_str());
}
QString GxsChannelPostItem::groupName()