Hello,
I need to create multi user chat room from my module. I try to use mod_muc:create/5 -
mod_muc:create_room("conference.localhost", "testroom", "testuser@localhost", "testuser", default).
But when i run client and login, nothing happens. The room doesn't create.
How can i correctly create muc room from my module code? And where i can find in ejabberd mod_muc source code where create_room/5 executes?
Thank you.
I made
I made as:
mod_muc:create_room("localhost", "testroom",
jlib:string_to_jid("testuser@localhost"), "testuser", [{persistent, true}]).
In my jabber client in service directory i see chat room with created
room. But it is dissabled. When click it i get:
There was an error getting agents for testroom@conference.localhost.
Reason: Item not found.
The addressed JID or item requested cannot be found.
Conference room does not exist
Why?