On Monday 11 August 2008 12:45:08 Peter Saint-Andre wrote: > Justin Karneges wrote: > > We need two new XEPs: "Temporary Presence Exchange" (for exchanging > > caps/resource information with unknown/invisible entities), > > What more does that involve on top of directed presence containing caps?
Stanza-wise, it involves the inclusion of a special indicator element. I like your idea of setting the presence type to 'subscribe' though, and Pavel's suggestion of splitting up the request and the directed presence. How about this: // the TPE request <presence from='contactA/Resource' to='contactB' type='subscribe'> <temporary/> </presence> // the directed presence <presence from='contactA/Resource' to='contactB'> <c ...> // caps </presence> This way, the type='subscribe' only appears on the special stanzas. The directed-presence stanzas would be sent separately and normally. -Justin
