[JDEV] System Mesg?

Peter Saint-Andre stpeter at jabber.org
Wed Jan 17 12:43:08 CST 2001


To send an announcement to all online users, you need to send the raw
XML of the message from the account of one of the admin users (as set up
in your jabber.xml file). The XML is as follows:

<message to="your-server-name-here/announce/online">
<body>your message here</body>
</message>

Peter

--
Peter Saint-Andre
stpeter at jabber.org

David Barth wrote:
> 
> Gang Liu a écrit :
> >
> > Hi,
> >
> >         Can I send a system mesg to online users, or how can I get the online users list? I saw jabber.org could do that.
> 
> Take a look at mod_announce.c in jabber2/jsm/modules
> 
> --
> dbarth
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev




More information about the JDev mailing list