Commit e9e1000e authored by Tom Evans's avatar Tom Evans

OF-821: Count occupants by nickname

Returns the count of nicknames rather than the number of connections
(full JIDs), which will now also match the list of occupants.
parent 1c054a2e
...@@ -512,7 +512,7 @@ public class LocalMUCRoom implements MUCRoom, GroupEventListener { ...@@ -512,7 +512,7 @@ public class LocalMUCRoom implements MUCRoom, GroupEventListener {
@Override @Override
public int getOccupantsCount() { public int getOccupantsCount() {
return occupantsByFullJID.size(); return occupantsByNickname.size();
} }
@Override @Override
......
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