mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
use RSLinks to handle recommendation message (Patch from Sehraf)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8064 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ed014b0d34
commit
81c3c59266
2 changed files with 3 additions and 3 deletions
|
@ -574,7 +574,7 @@ void MessageWidget::fill(const std::string &msgId)
|
|||
|
||||
ui.subjectText->setText(QString::fromUtf8(msgInfo.title.c_str()));
|
||||
|
||||
text = RsHtmlMsg(msgInfo.msgflags).formatText(ui.msgText->document(), QString::fromUtf8(msgInfo.msg.c_str()), RSHTML_FORMATTEXT_EMBED_SMILEYS | RSHTML_FORMATTEXT_EMBED_LINKS | RSHTML_FORMATTEXT_REPLACE_LINKS);
|
||||
text = RsHtmlMsg(msgInfo.msgflags).formatText(ui.msgText->document(), QString::fromUtf8(msgInfo.msg.c_str()), RSHTML_FORMATTEXT_EMBED_SMILEYS | RSHTML_FORMATTEXT_EMBED_LINKS);
|
||||
ui.msgText->resetImagesStatus(Settings->getMsgLoadEmbeddedImages() || (msgInfo.msgflags & RS_MSG_LOAD_EMBEDDED_IMAGES));
|
||||
ui.msgText->setHtml(text);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue