summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/libiris/004_xhtml_im.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/libiris/004_xhtml_im.patch')
-rw-r--r--kopete/protocols/jabber/libiris/004_xhtml_im.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/kopete/protocols/jabber/libiris/004_xhtml_im.patch b/kopete/protocols/jabber/libiris/004_xhtml_im.patch
index feba04bb..990ab4f7 100644
--- a/kopete/protocols/jabber/libiris/004_xhtml_im.patch
+++ b/kopete/protocols/jabber/libiris/004_xhtml_im.patch
@@ -127,17 +127,17 @@ Index: iris/xmpp-im/types.cpp
}
-
+ if ( !d->xHTMLBody.isEmpty()) {
-+ QDomElement tqparent = s.createElement(s.xhtmlImNS(), "html");
++ QDomElement parent = s.createElement(s.xhtmlImNS(), "html");
+ for(it = d->xHTMLBody.begin(); it != d->xHTMLBody.end(); ++it) {
+ const QString &str = it.data();
+ if(!str.isEmpty()) {
+ QDomElement child = s.createXHTMLElement(str);
+ if(!it.key().isEmpty())
+ child.setAttributeNS(NS_XML, "xml:lang", it.key());
-+ tqparent.appendChild(child);
++ parent.appendChild(child);
+ }
+ }
-+ s.appendChild(tqparent);
++ s.appendChild(parent);
+ }
if(d->type == "error")
s.setError(d->error);