Reconnection vs. Conferences

Hello,

I have realized that Spark users which are joined to a conference disappear from it when they come back after reconnection. I think my server (openfire) kicks them from the conference when it notices reconnections. This is one issue I don’t understand.

The other one is that I would like to enter again into these conferences when I come back from reconnection (knowing its roomName), but I have found a problem: After reconnection, every time I use the function *getOccupantsCount() *from a joined *MultiUserChat, *it gives me size 0 and I can’t either use

getOccupants() because it is always empty. It happens when I start a new conference and when I am invited to one, and being joined to the room.

Anyone knows how can I retreive normal behavior of MultiUserChat variables after a successful reconnection? I can only achieve it login out my application.

Any idea?

Thanks in advance.