On Fri, Feb 25, 2011 at 2:20 PM, Kevin Smith <ke...@kismith.co.uk> wrote: > On Fri, Feb 25, 2011 at 9:17 AM, Michael McCarthy > <michaelcmccar...@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
An XEP which fits here is XEP-0144: Roster Item Exchange, which allows suggesting roster entries. It also lets the initiator send their JID first in a message, which avoids a roundtrip or two, and also allows fallback to a text message. I have a vague recollection of some clients actually implementing this. -- Waqas Hussain _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: jdev-unsubscr...@jabber.org _______________________________________________