powered by Jive Software

Joining muc room in bulk

I would like to hear ideas on how to join a large number of users to a room. I need to join around 200 users to the same room.

I have seem some libraries for Python (SleeakXMPP) and I wonder if there was an existing tool or method that will do exactly this, passing a comma separated list of member names and get them all joining a specific room.

I will appreciate your ideas, comments or links to other sources.

Thank you.

Use the client control plugin, create a groupchat (muc) bookmark and associate it with a group containing your 200 users.

Thanks for your reply Dele.

Is there any dsocumentation for this plugin?

I installed it and used it but I achieved nothing so surely I am not using it properly.

Perhaps I need to explain myself better.

What I am trying to achieve is to get 200 users into an existing Group Chat Room. Using Psi, I get one user into a room. Now I would like a way to get 200 more users into that same room.

With the Client Control plugin, I created Group Chat Bookmark including all users, I associated it with the room where I got my one user but nothing happened.

What am I doing wrong?

Again, thanks a lot for your help.

If you use Spark or any other xmpp client that supports private storage and bookmarks, then each user will auto join the chat room as soon as they login.

see http://psi-im.org/wiki/Autojoin_MUC

For example code, look at

https://code.google.com/p/openfire-websockets/source/browse/trunk/src/ofchat/js/ background/secretary.js

    _autojoin: function() {                            var iq = $iq({to: this._connection.domain, type: 'get'}).c('query', {xmlns: Strophe.NS.PRIVATE}).c('storage', {xmlns: Strophe.NS.BOOKMARKS});                               this._connection.sendIQ(iq);                   },