openfire has 2 online users with different resource .
- jack@domain/01
- jack@domain/02
so
why
sessionManager.getSessions(“jack”).size() =1?
sessionManager.getSessionCount(“jack”)=1?
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