Commit 14a0e405 authored by Christian Schudt's avatar Christian Schudt Committed by Guus der Kinderen

OF-1054 IllegalStateException when destroying MUC room prevents unavailable broadcast to be sent

parent fe1d815f
......@@ -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