Problems with Conference Invitation!

Hi everybody,

I am using smack 1.5.1. There is a problem when I use invitationReceived listener and to join Conference. The list of Conference Roster is always null if I use join MUC in invitationReceived event. And I cannot display the roster in the left of Conference Window. But, when the new action comes, for example a user joined the conference, the roster does well. I do not know why?

Thanks in advance!

The conference recieves its information the same way you do, upon receiving those “join” packets it knows that person is in the room. There is no way for it to know initially who is in the room, only after those join packets are received. You’'ll just need to take that into consideration when programming.