Skip to content

Commit

Permalink
Merge pull request #92 from lpires/master
Browse files Browse the repository at this point in the history
Fixed the message creation
  • Loading branch information
flosse committed Dec 25, 2012
2 parents 94d742c + a3d194c commit df5201d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
2 changes: 1 addition & 1 deletion muc/strophe.muc.coffee
Expand Up @@ -156,7 +156,7 @@ Strophe.addConnectionPlugin 'muc'
if html_message?
msg.c("html", xmlns: Strophe.NS.XHTML_IM)
.c("body", xmlns: Strophe.NS.XHTML)
.h(html_message)
.t(html_message)
if msg.node.childNodes.length is 0
# html creation or import failed somewhere; fallback to plaintext
parent = msg.node.parentNode
Expand Down
20 changes: 2 additions & 18 deletions muc/strophe.muc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit df5201d

Please sign in to comment.