On Tue, Jan 31, 2006 at 12:12:11AM +1100, Trejkaz wrote: > On Monday 30 January 2006 21:10, Remko Troncon wrote: > > > I am sending the following message to a googletalk recipient over S2S: > > > > Is the recipient on your contact list, and vice versa ? > > Wouldn't that have been the wrong error code if that's the case? It wasn't a > bad request...
Well, yes indeed. I regard this policy as a set of hardwired privacy rules per RFC 3921 (XMPP IM), section 10, and more specifically instances of the examples on blocking messages in section 10.9. The rules for blocked communication attempts are described in section 10.14: If a blocked entity attempts to send message or presence stanzas to the user, the user's server SHOULD silently drop the stanza and MUST NOT return an error to the sending entity. If a blocked entity attempts to send an IQ stanza of type "get" or "set" to the user, the user's server MUST return to the sending entity a <service-unavailable/> stanza error, since this is the standard error code sent from a client that does not understand the namespace of an IQ get or set. IQ stanzas of other types SHOULD be silently dropped by the server. -- Groetjes, ralphm
