mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
Fix Anchor on Channel Message
This commit is contained in:
parent
7a2f02e11a
commit
007825b1fa
@ -26,9 +26,10 @@
|
||||
#include <QDir>
|
||||
#include <QMimeData>
|
||||
|
||||
#include <gui/RetroShareLink.h>
|
||||
#include "CreateGxsChannelMsg.h"
|
||||
#include "gui/feeds/SubFileItem.h"
|
||||
#include "gui/RetroShareLink.h"
|
||||
#include "util/HandleRichText.h"
|
||||
#include "util/misc.h"
|
||||
|
||||
#include <retroshare/rsfiles.h>
|
||||
@ -573,7 +574,9 @@ void CreateGxsChannelMsg::sendMsg()
|
||||
|
||||
/* construct message bits */
|
||||
std::string subject = std::string(misc::removeNewLine(subjectEdit->text()).toUtf8());
|
||||
std::string msg = std::string(msgEdit->toPlainText().toUtf8());
|
||||
QString text;
|
||||
RsHtml::optimizeHtml(msgEdit, text);
|
||||
std::string msg = text.toStdString();
|
||||
|
||||
std::list<RsGxsFile> files;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user