Commit 3b3aa8d7 authored by Dave Cridland's avatar Dave Cridland

OF-928 Add a copy of the extendedInformation

parent 2ade78e7
...@@ -163,8 +163,8 @@ public class LocalMUCRole implements MUCRole { ...@@ -163,8 +163,8 @@ public class LocalMUCRole implements MUCRole {
this.presence = newPresence; this.presence = newPresence;
this.presence.setFrom(getRoleAddress()); this.presence.setFrom(getRoleAddress());
if (extendedInformation != null) { if (extendedInformation != null) {
extendedInformation.setParent(null); Element exi = extendedInformation.createCopy();
presence.getElement().add(extendedInformation); presence.getElement().add(exi);
} }
} }
......
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