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.