Skip Menu |

This queue is for tickets about the AnyEvent-XMPP CPAN distribution.

Report information
The Basics
Id: 121501
Status: new
Priority: 0/
Queue: AnyEvent-XMPP

People
Owner: Nobody in particular
Requestors: jleu [...] inoc.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: NOT A BUG: how to send a messgace to change the affiation of a user in a MUC
Date: Tue, 2 May 2017 11:47:19 -0500
To: bug-AnyEvent-XMPP [...] rt.cpan.org
From: James Leu <jleu [...] inoc.com>
Hello, I'm using AnyEvent::XMPP to connect to a prosody 0.9.12 server with an admin account. I can connect to a MUC and recieve messages about users joining the room. I would like to send a message to change the users affiation. (ie kick them from the room). I believe I need to send a message that look like: 'xmpp.muc.role', { "room": "test@conference.evilprofessor.co.uk", "jid": "user@evilprofessor.co.uk", "affiliation": "outcast" } Any thoughts as to how to how I would do this? I have a AnyEvent::XMPP::Ext::MUC::Room object available to create a message. Thank you for your time, James -- James R. Leu | INOC | Madison, WI, USA O: +1-608-204-0203 | F: +1-608-663-4558 | jleu@inoc.com | www.inoc.com Service. Not Software.®
Subject: Re: [rt.cpan.org #121501] AutoReply: NOT A BUG: how to send a messgace to change the affiation of a user in a MUC
Date: Tue, 2 May 2017 16:01:45 -0500
To: Bugs in AnyEvent-XMPP via RT <bug-AnyEvent-XMPP [...] rt.cpan.org>
From: James Leu <jleu [...] inoc.com>
Please close. I fiqured out that I need to use send_iq to create send a message that looks like this <iq from='fluellen@shakespeare.lit/pda' id='kick1' to='harfleur@chat.shakespeare.lit' type='set'> <query xmlns='http://jabber.org/protocol/muc#admin'> <item nick='pistol' role='none'> <reason>Avaunt, you cullion!</reason> </item> </query> </iq> Sorry for the noise ... On Tue, May 02, 2017 at 12:56:09PM -0400, Bugs in AnyEvent-XMPP via RT wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "NOT A BUG: how to send a messgace to change the affiation of a user in a MUC", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #121501]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=121501 > > Please include the string: > > [rt.cpan.org #121501] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-AnyEvent-XMPP@rt.cpan.org > > ------------------------------------------------------------------------- > Hello, > > I'm using AnyEvent::XMPP to connect to a prosody 0.9.12 server with > an admin account. I can connect to a MUC and recieve messages > about users joining the room. > > I would like to send a message to change the users affiation. > (ie kick them from the room). > > I believe I need to send a message that look like: > > 'xmpp.muc.role', > { > "room": "test@conference.evilprofessor.co.uk", > "jid": "user@evilprofessor.co.uk", > "affiliation": "outcast" > } > > Any thoughts as to how to how I would do this? > > I have a AnyEvent::XMPP::Ext::MUC::Room object available to > create a message. > > Thank you for your time, > James > > -- > James R. Leu | INOC | Madison, WI, USA > O: +1-608-204-0203 | F: +1-608-663-4558 | jleu@inoc.com | www.inoc.com > Service. Not Software.®
-- James R. Leu | Director of Technology | INOC | Madison, WI, USA O: +1-608-204-0203 | F: +1-608-663-4558 | jleu@inoc.com | www.inoc.com Service. Not Software.®