Commit 645e23d7 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Small optimization.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8728 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1e8072fd
......@@ -641,7 +641,7 @@ public class SessionManager extends BasicModule implements ClusterEventListener
public boolean isAnonymousRoute(String username) {
// JID's node and resource are the same for anonymous sessions
return isAnonymousRoute(new JID(username, serverName, username));
return isAnonymousRoute(new JID(username, serverName, username, true));
}
public boolean isAnonymousRoute(JID address) {
......
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