Propperly create a MUC


i try to create a client that simulates multiple users using smack.

i try to create a room like this:

MultiUserChat muc = new MultiUserChat(conn, “test@test”);

try {
muc.sendConfigurationForm(new Form(Form.TYPE_SUBMIT));

    } catch(XMPPException e1) {

unfortunately it looks like this room is not unlocked. when another user tries to join the room he gets: recipient-unavailable(404)

Seems like i did something wrong when the muc was created.

I have the same issue. If the MUC is set to persistant it works (but I don’t want to).