Page 1 of 1

Using Adium to control MUCs/Chat Rooms

Posted: Mon Mar 02, 2020 5:56 pm
by razamattaz
There are a number of slash commands one can use in Adium - some are listed at https://adium.im/help/pgs/ServiceInform ... pport.html but there are others like /me and /topic that I have also found (depending on the backend server XMPP standards support). In particular there is one called /config.

For the XMPP service we are trialling (conversations.im) as a replacement for the closure of hosting.im, the /config command in Adium brings up the configuration screen for the current chat room you are in, but I cannot find the relevant command to allow me to list the members of the chat room - the providers of conversation.im say that they would expect it to be shown in the same GUI - it isn't.

Does anyone have any idea why not, or what command might be used to get Adium to issue the correct command to the backend XMPP server?

(They suggested that Gajim does this but try as I might, I can't get it to work on OSX...)

Re: Using Adium to control MUCs/Chat Rooms

Posted: Mon Mar 02, 2020 6:06 pm
by razamattaz
For my own sanity I just tried the Swift OSX client and the settings for a chatroom has the option to edit affiliations - so I know the server can present it.

It looks like the commands (stanza?) sent to the server is of the nature:

<iq id="635a60d3-bad5-4586-adff-4401062ef1a4" to="<MUC_NAME>" type="get"><query xmlns="http://jabber.org/protocol/muc#admin"><item affiliation="owner"/></query></iq>
<!-- OUT 2020-03-02T18:04:09 -->
<iq id="979f54ff-a048-488b-8daf-6e68c7b50927" to="<MUC_NAME>" type="get"><query xmlns="http://jabber.org/protocol/muc#admin"><item affiliation="admin"/></query></iq>
<!-- OUT 2020-03-02T18:04:09 -->
<iq id="1a52182e-4ad9-4311-892c-19a398db26d8" to="<MUC_NAME>" type="get"><query xmlns="http://jabber.org/protocol/muc#admin"><item affiliation="member"/></query></iq>
<!-- OUT 2020-03-02T18:04:09 -->
<iq id="9b7a6614-ae1b-4128-812c-b390a63c4229" to="<MUC_NAME>" type="get"><query xmlns="http://jabber.org/protocol/muc#admin"><item affiliation="outcast"/></query></iq>

where <MUC_NAME> has been used to replace the actual MUC.

Raza

Re: Using Adium to control MUCs/Chat Rooms

Posted: Tue Mar 03, 2020 8:33 am
by razamattaz
Further experimenting suggests it is something like /affiliate because that gives a "Command failed" message whereas things like /affiliations or /members just appear in the message stream (confusing all the other people in the MUC!)

Raza

Re: Using Adium to control MUCs/Chat Rooms

Posted: Tue Mar 03, 2020 2:00 pm
by razamattaz
Of course it took a work colleague to see what was in full sight.

You use the /affiliate command with a parameter to see who matches that status

so /affiliate member

shows you who is a member and

/affiliate member joe.bloggs

makes joe.bloggs a member.