On Jan 30, 2013, at 9:45 AM, Pravin Sinha <[email protected]> wrote:
> Hi All, > > Can we have comma separated multiple JIDs in "to" part set and still call it > spec compliant? Suppose, somebody wants to get presence info for a set of > users by using a single presence probe packet having multiple JIDs mentioned > in "to" . Can this be called a spec compliant way? I couldn't locate any > statement which restrict the number of JIDs in "to" part of XMPP packet but > still feel this a clumsy approach. > The 'to' (and 'from') attributes on stanza contain a single JID, not multiples separated by some character sequence. You'll unfortunately need to send a probe for each JID you're interested in, although each JID is almost always a bare JID (localpart@domainpart). Probing the bare JID should result in a <presence/> stanza for each available full JID (localpart@domainpart/resourcepart), provided the requesting entity is subscribed to the target's presence. - m&m Matthew A. Miller < http://goo.gl/LK55L >
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
