Joe Hildebrand wrote:

On Jan 25, 2008, at 12:43 PM, Justin Karneges wrote:
Psi
considers the initial presence list to be received once 10 seconds have
passed after the roster was received. This is, of course, not very accurate, and when Peter takes more than 10 seconds to login, probably 1000 contacts
trigger sound events.  However, maybe there's a better solution to the
initial presence list problem.

Just use a Nagle-style approach. Start a timer after you get the roster. Reset it after each presence you receive. Only start doing notifications once the timer fires.

Sure. That's Smart[tm].


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to