heya, i just committed my first take on handling subscription requests/approvals/cancellations and unsubscriptions. there are a lot of TODOs in there regarding persistance and determining the correct set of resources a stanza needs to be relayed to.
until now, i used the RFC3921bis-04 version as a reference, as it's nicer to read... i plan to revise it to reflect the conformance to the original RFC3921. except of the TODOs, the basic handling described in RFC3921bis-04#3 should be finished. cheers, Gerolf
