[swift-users] Changing presence for MUC...

Kevin Smith kevin at kismith.co.uk
Fri Mar 2 08:47:34 CET 2012


On Thu, Mar 1, 2012 at 7:04 PM, Marc Neeley <neeleym at ociweb.com> wrote:
> Is there a way to change the presence indication in Swift::MUC for a
> connected client. I have successfully started a Client session and have
> joined a MUC session, but I’m not clear how to change the MUC presence
> state. This is a bot type of client and I don’t want it to drop the
> connection, but I would like it to give an indication of it’s state and/or
> presence status. Any thoughts would be appreciated.

Without checking the code, I believe using the
Client::getPresenceSender will get the presence sender for your
session, and than sending broadcast presence through this will also
send it to all the MUC's you're in. Was that what you want, or do you
want unique presence for each room?

/K


More information about the swift-users mailing list