I have a problem with an entering a room. I saw similar discussion on this forum but there were no solutions to exactly my issue.
So, the problem is that I need to have the following: user joins the room, if such room does not exist user creates such room. I do it with the following query:
<presence to=‘firstname.lastname@example.org/max-flash’ from=‘jabber@newfolder/6710.642297588754445’><x xmlns=‘http://jabber.org/protocol/muc’/>
If such room does not exist it will be created successfully and I can send messages in it. If it is already exists server does not send me conflict error if such nick already exists in this room. But if I send a register query it will send me conflict error.
What should I do in this situation?