[ejabberd] Create multi user chat room programmatically

Alexander Kuleshov kuleshovmail at gmail.com
Mon May 16 11:33:20 MSD 2011


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 at 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.


More information about the ejabberd mailing list