openfire has 2 online users with different resource .
shouldn’t he have returned to 2?
did I understand the mistake?
but sessionManager.getSessions().size()=2, ok.
i checked the source file of RoutingTableImpl.java->addClientRoute , and he seemed to have stored the last value JID.
if I want to return to 2, which method should I use? each getSessions()??
ps: openfire 4.0.2