powered by Jive Software

Update User Status Plugin

Hi All,

I’m looking to write a plugin that would use the results of an SQL query to push out an update of users’ status. I’ve done some looking around and have found the Plugin Dev Guide and the Class Defs, but I can’t seem to find a function that allows me to update the user status from the server side. Can anyone point me in the right direction?

Thanks,

-Thomas

Are you trying to send out a org.xmpp.packet.Presence on behalf on a different user using something like the following?

Presecence p = new Presence();

p.setStatus(’’)

// from, type

XMPPServer.getInstance().getMessageRouter().route§;