mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
Add buttons to send message in plain text and without EmoteIcon.
This commit is contained in:
parent
56e079739c
commit
ddbcd2150c
15 changed files with 221 additions and 103 deletions
|
@ -874,6 +874,12 @@ static void styleCreate(QDomDocument& doc
|
|||
optAttr = doc.createAttribute("RSOptimized");
|
||||
optAttr.setValue("v2");
|
||||
styleElem.attributes().setNamedItem(optAttr);
|
||||
if (flag & RSHTML_FORMATTEXT_NO_EMBED) {
|
||||
QDomAttr noEmbedAttr;
|
||||
noEmbedAttr = doc.createAttribute("NoEmbed");
|
||||
noEmbedAttr.setValue("true");
|
||||
styleElem.attributes().setNamedItem(noEmbedAttr);
|
||||
}
|
||||
}
|
||||
|
||||
while(styleElem.childNodes().count()>0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue