<div class="gmail_quote">On Wed, Mar 11, 2009 at 7:15 PM, Jonathan Schleifer <span dir="ltr"><<a href="mailto:js-jdev@webkeks.org">js-jdev@webkeks.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Well, imagine this situation: I send a presence with <show>dnd</show>. Then my client sets me auto away and later I return. So it sends a global available presence with no show. No peter seems me again. But I sent a directed presence because I wanted that he thinks I'm busy and doesn't bother me (sorry you have to be our example here, Peter ;)). But this is renderes useless by the global presence. IMO, a global presence should not replace a directed presence. At least not until you send a global unavailable presence or tell the server some other way that you don't want that directed presence anymore.<br>
</blockquote></div><div><br></div><div>It depends on if stpeter is on your roster with a subscription status of 'from' or 'both' or not.</div><div><br></div><div>rfc3921bis-07 section 4.6.2: summary:</div>
<div> if the user is on your roster: then global can override directed,</div><div> if the user is not on your roster, then global MUST NOT override directed.</div><br>-- <br>- Norman Rasmussen<br> - Email: <a href="mailto:norman@rasmussen.co.za">norman@rasmussen.co.za</a><br>
- Home page: <a href="http://norman.rasmussen.co.za/">http://norman.rasmussen.co.za/</a><br>