Add buttons to send message in plain text and without EmoteIcon.

This commit is contained in:
Phenom 2016-01-27 20:27:44 +01:00
parent 56e079739c
commit ddbcd2150c
15 changed files with 221 additions and 103 deletions

View file

@ -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) {