[ejabberd] Can I create chat room on the server instead of client

Michael Weibel michael.weibel at gmail.com
Thu May 3 18:00:36 MSK 2012


There's also mod_muc_admin which should enable to do that with ejabberdctl.

- Michael

Am 03.05.2012 um 15:55 schrieb Shaun Kruger:

> I know this isn't exactly creating a chat room on the server (without
> a client), but I wrote a blog post last week about using MUCs in a way
> that required a room to be created and made persistent before anyone
> started using it.  I wrote a python script that attaches to a server,
> creates a room, and sets the room's options before logging out.
> 
> Take a look at it and see if it would be useful to what you're trying to do:
> https://github.com/chatmongers/chatmongers-web-demos/blob/master/muc_event_subscription/mucsetup.py
> 
> It is written in python and requires sleekxmpp.
> 
> As for adding users to the chat room on the server side I'm just not
> sure that's going to work out really well because I don't know what
> clients will do when they suddenly start getting muc messages without
> ever realizing they joined a muc.  What are you trying to do?  Have
> you looked at mod_multicast?
> 
> Shaun Kruger
> 
> On Thu, May 3, 2012 at 4:28 AM, Coiby Xu <coiby.xu at gmail.com> wrote:
>> Hi all,
>> 
>> How can I create chat room on the server instead of client and add users to
>> the chatroom? ejabberdctl doesn't seem to have a command to create chatroom.
>> 
>> Thanks!
>> 
>> _______________________________________________
>> ejabberd mailing list
>> ejabberd at jabber.ru
>> http://lists.jabber.ru/mailman/listinfo/ejabberd
>> 
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd



More information about the ejabberd mailing list