[JDEV] creating a private chat room?
Todd Bradley
TBradley at jabber.com
Tue Feb 13 15:06:00 CST 2001
The reverse engineer in me says to watch the XML
output stream from JabberIM to see what it sends
in order to create a new chat room, and then
follow suit in your own client code. Here's
what JabberIM does:
SENT: <iq type="get" id="jabberim_groupchat1629"
to="foosball at groups.jabber.com"><query xmlns="jabber:iq:groupchat"/></iq>
RECV: <iq type='result' id='jabberim_groupchat1629'
to='tbradley at jabber.com/work' from='foosball at groups.jabber.com'><query
xmlns='jabber:iq:groupchat'/></iq>
SENT: <iq id="jabberim_groupchat1653" to="foosball at groups.jabber.com"
type="set"><query
xmlns="jabber:iq:groupchat"><privacy/><nick>tbradley</nick><nick>Todd</nick>
<nick/></query></iq>
RECV: <iq id='jabberim_groupchat1653' to='tbradley at jabber.com/work'
type='result' from='foosball at groups.jabber.com'><query
xmlns='jabber:iq:groupchat'><item
res='5d6894cf71eb0bb10735f4d6aae1cc703162d90c' name='tbradley'
jid='tbradley at jabber.com/work'/></query></iq>
SENT: <presence to="foosball at groups.jabber.com"/>
RECV: <message type='groupchat' to='tbradley at jabber.com/work'
from='foosball at groups.jabber.com'><body>tbradley has become
available</body></message>
RECV: <presence to='tbradley at jabber.com/work'
from='foosball at groups.jabber.com/5d6894cf71eb0bb10735f4d6aae1cc703162d90c'/>
<presence to='tbradley at jabber.com/work'
from='foosball at groups.jabber.com/5d6894cf71eb0bb10735f4d6aae1cc703162d90c'/>
> -----Original Message-----
> From: Robert Temple [mailto:robert.temple at dig.com]
> Sent: Tuesday, February 13, 2001 1:49 PM
> To: 'jdev at jabber.org'
> Subject: [JDEV] creating a private chat room?
>
>
> I've read through
> http://docs.jabber.org/draft-proto/html/conferencing.html
> but I still cannot figure out how to create a new private
> chat room. I'd
> like to create a random new room and then invite a buddy or
> two so that we
> can start a little private conference. What messages do I
> need to sent to
> the conference agent?
>
> Thanks,
> Robert
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list