Commit 5da9df32 authored by guus's avatar guus

Make sure that the local and remote representation of the nickname of a MUC...

Make sure that the local and remote representation of the nickname of a MUC occupant are equal. This prevents nasty problems in a clustered setup (JM-1473).

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10839 b35dd754-fafc-0310-a699-88a17e54d16e
parent 81c91ade
...@@ -61,7 +61,7 @@ public class OccupantAddedEvent extends MUCRoomTask { ...@@ -61,7 +61,7 @@ public class OccupantAddedEvent extends MUCRoomTask {
} }
public String getNickname() { public String getNickname() {
return presence.getTo().getResource(); return presence.getTo().getResource().trim();
} }
public MUCRole.Role getRole() { public MUCRole.Role getRole() {
......
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