Re: [Standards] Comments on SIFT

2010-03-10 Thread Jack Moffitt
> With per-message filtering this changes to something like this: > >  3. loop over the resultset and send all _allowed_ messages to the > newly available resource >  4. for each sent message, DELETE FROM offline_messages WHERE JID == > ${account_jid} and MESSAGEID == $(unique_message_id) > > This

Re: [Standards] Comments on SIFT

2010-03-06 Thread Jason
interesting - I've built a variation on this for offline messages, but allowing quite complex "allow" criteria. I couldnt make xmpp do it (I'm not saying xmpp couldnt, but just that I couldnt figure out how) as my case seemed to require altered routing rules and a few other issues surrounding m

[Standards] Comments on SIFT

2010-03-06 Thread Waqas Hussain
While implementing mod_sift for Prosody, I saw some possibilities for improvement and had thoughts about issues. Some of these follow. 1. Remove disallowed child elements for filtered messages and presence. Here's a typical identi.ca message: evan: RT @sil doom. the Shuttle computer I'm se