Commit 73b5e68f authored by Guus der Kinderen's avatar Guus der Kinderen

Merge pull request #524 from sco0ter/of1054

OF-1054 IllegalStateException when destroying MUC room prevents unava…
parents 4af27d06 8a8b6738
......@@ -999,7 +999,7 @@ public class LocalMUCRoom implements MUCRoom, GroupEventListener {
item.addAttribute("affiliation", "none");
item.addAttribute("role", "none");
if (alternateJID != null) {
fragment.addElement("destroy").addAttribute("jid", alternateJID.toFullJID());
fragment.addElement("destroy").addAttribute("jid", alternateJID.toString());
}
if (reason != null && reason.length() > 0) {
Element destroy = fragment.element("destroy");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment