[jdev] Adding a roster contact in a MUC room where JIDs are not broadcast

Kevin Smith kevin at kismith.co.uk
Fri Feb 25 03:20:57 CST 2011


On Fri, Feb 25, 2011 at 9:17 AM, Michael McCarthy
<michaelcmccarthy at me.com> wrote:
> Sorry, I wasn't very explicit there, my mistake. This is within the context
> of an application we've written where users probably aren't aware they are
> using XMPP or what a JID is. But I like the pragmatism of the approach below
> : )

If you control the clients at both ends, you can have them respond to
e.g. <iq to=...><whatsyourjid xmlns="..."/></iq> and do the user-less
equivalent to Peter's suggestion. Understanding whatever privacy
issues this brings to your application.

/K


More information about the JDev mailing list