ejabberd - Comments for "Deleting chat rooms" https://www.ejabberd.im/node/3539 en Client feature: XML Console, Raw XML... https://www.ejabberd.im/node/3539#comment-54337 <div class="quote-msg"> <div class="quote-author"><em>billymayday</em> wrote:</div> <p>I have no idea how to pass raw xml to the server</p></div> <p>It is a client feature. In Psi 0.12.1, open the context menu of your account in the roster, then click "Console XML" or similar. It can display the XML traffic between client and server, and allows the user to send any arbitrary XMPP stanza to the server.</p> Wed, 10 Jun 2009 12:04:22 +0000 mfoss comment 54337 at https://www.ejabberd.im Thanks again https://www.ejabberd.im/node/3539#comment-54336 <p>That worked a treat thanks.</p> <p>A quick follow-up question for you.</p> <p>Although I followed the link you gave for XEP-0045, I have no idea how to pass raw xml to the server (I'm an ex C programmer and know nothing much about erlang). How would one do it?</p> Wed, 10 Jun 2009 11:15:40 +0000 billymayday comment 54336 at https://www.ejabberd.im Fixed now in SVN https://www.ejabberd.im/node/3539#comment-54335 <div class="quote-msg"> <div class="quote-author"><em>billymayday</em> wrote:</div> <p> it doesn't work quite correctly (listing rooms in the web admin package gives a "not found" error, but the command line additions to ejabberdctl work fine)</p></div> <p>Ah, right. mod_muc_admin 2.0.x branch was only compatible with the old ejabberd 2.0.0 and 2.0.1. I've fixed it, now it requires ejabberd 2.0.2 or higher. Update mod_muc_admin SVN, now the WebAdmin page should work correctly.</p> <div class="quote-msg"> <div class="quote-author"><em>billymayday</em> wrote:</div> <p>why you didn't recommend mod_muc_admin?</p></div> <p>Because you were not ready for that answer.</p> <p>You asked:</p> <div class="quote-msg"> <div class="quote-author"><em>billymayday</em> wrote:</div> <p>how I delete an existing chat room.</p></div> <p>This revealed that you were not knowledge or experienced enough in MUC (XEP-0045). So the answer necessarily had to mention how to destroy a room using XEP-0045, either by means of a Jabber client or by sending the raw XML.</p> <p>After you learn to destroy a room in the standard-user way, you probably ask "how to destroy rooms programatically?". Enter mod_muc_admin.</p> Wed, 10 Jun 2009 10:19:13 +0000 mfoss comment 54335 at https://www.ejabberd.im Thanks for that https://www.ejabberd.im/node/3539#comment-54333 <p>Thanks badlop, I had tried with pidgin and exodus, and it seems that although both have the ability to create rooms, neither seems to have an option to delete them.</p> <p>I installed psi (thanks for the suggestion), and that has a delete option, so I guess those other clients are only half MUC-capable, or I simply couldn't find the relevant option.</p> <p>A question for you though.</p> <p>I managed to find a copy of mod_muc_admin, which I gather you wrote (from the README.txt). Although it was a little hard to find, since it's not listed under contributions, and I had installation issues (I was installing the version under the ejabberd-modules svn trunk until I found the 2.0.x version under branches), and it doesn't work quite correctly (listing rooms in the web admin package gives a "not found" error, but the command line additions to ejabberdctl work fine), I was interested to know why you didn't recommend mod_muc_admin?</p> <p>Rgds and thanks again.</p> Wed, 10 Jun 2009 03:09:33 +0000 billymayday comment 54333 at https://www.ejabberd.im Use a MUC-capable client https://www.ejabberd.im/node/3539#comment-54330 <div class="quote-msg"> <div class="quote-author"><em>billymayday</em> wrote:</div> <p>managed to create a few persistent rooms that are still hanging around, and I'm like to clean them up</p></div> <p>There are at least two ways to destroy a persistent room. You need to use a MUC-capable Jabber client (Psi, Gajim, Tkabber, ...):</p> <ul> <li>Configure again the room and set it to not-persistent. When all the participants leave, the room is self-destroyed. </li><li>Or you can explicitly destroy the room. If your client doesn't support this, you can send the XMPP stanzas yourself, if the client provides an 'XML Raw Console'. See: <noindex><a href="http://xmpp.org/extensions/xep-0045.html#destroyroom" rel="nofollow" >XEP-0045 - Destroying a Room</a></noindex>. </li></ul> Tue, 09 Jun 2009 14:37:09 +0000 mfoss comment 54330 at https://www.ejabberd.im