[JDEV] Q: Non-anonymous conferencing?

Keith Minkler kminkler at jabber.com
Mon Mar 26 19:00:25 CST 2001


Using the groupchat protocol defined in http://docs.jabber.org/draft-proto/conference.html,
you will see the user's real jid as the jid="" attribute of the jabber:iq:browse iq push..
for example...

after you send presence, and the iq:set (jabber:iq:conference) indicating that you are joining
the room, you will receive a list of users in an iq push:

<iq type="set" from="group at conference_server.com">
    <query xmlns="jabber:iq:browse">
        <user jid="real_jid at server.com" name="Nick_Name" gid="12dsa..."/>
        ...
    </query>
</iq>

this jid will be hidden if the user has specified the <privacy/> flag in his iq:set (jabber:iq:conference).

NOTE that private rooms and private users are two different things.. a private room is not returned
when browsing the conference server, and does not affect (to my knowledge) the ability for a user to
use the <privacy/> flag to hid thier jid.  

To answer you question, I'm not sure if the server can block users from specifying <privacy/>,
but you may use the jid attribute to view the user's real JID.

On Mon, Mar 26, 2001 at 02:37:29PM -0800, Jens Alfke wrote:
> Jabber's conferencing protocol seems biased in favor of anonymity, where 
> clients are redirected through opaque temporary nicknames. This has its 
> uses, but I'm interested in handling non-anonymous chat too, i.e. how to 
> look up the real jid from a nickname. The specs allege that this can be 
> done if the chat is set up to allow it, but don't say how. I assume that 
> I send some kind of an <iq> query to the nick address, but as a rank 
> newbie I'm unsure what this query would consist of.
> 
> Thanks,
> 
> --Jens
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
Keith Minkler

-------
Software Developer
Jabber.COM, Inc.
-------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20010326/7074109b/attachment-0002.pgp>


More information about the JDev mailing list