Commit 0e90529b authored by Guus der Kinderen's avatar Guus der Kinderen

Merge pull request #443 from surevine/of-928

OF-928 Add a copy of the extendedInformation
parents 14ad0f31 3b3aa8d7
...@@ -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