SessionManager bug?

openfire has 2 online users with different resource .

  1. jack@domain/01
  2. 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