Verifies the integrety of the projects, as builds are executed immediately after a code change was detected. This plan provides no artifiacts (use a nightly build instead).
OF-880: IQHandlers must comply with RFC 6121 Section 8.5.1 by default
This builds on a previous attempt to add support for IQ handling with regards to RFC 6121 Section 8.5.1 (No Such User), which was added in 15e6c5619d6ade7c40de95a1a7a158b1a9358ff0 and got partially reverted in 637cc81733092275c2726b43ebe603c0cbd438fe
The original fix got reverted, because pre-existing code (in IQHandlers of plugins) depends on non-compliant behavior.
With this new commit, I'm re-introducing the fix, but am adding a mechanism for individual plugins to opt out.
OF-880: No Such User detection to evaluate pre-authenticated session
A pre-authenticed session should not be consided a 'no such user' case.
Given the implementation, it's hard to identify a pre-authenticated session based on a (bare JID) 'to' address. The API is designed to be used by 'from' addresses.
Pre-authenticated sessions are unlikely to be the subject of a query, unless it is the client itself issuing the query. Aioxmpp's tests have been observed to perform disco/info requests prior to authentication. Given this, we can use the 'from' address (full JID) if its bare JID matches the addressee for the 'no such user' detection.