Hi, In XEP-0030 (Service Discovery - http://xmpp.org/extensions/xep-0030.html#security), it says "the server MUST return a <service-unavailable/> error if":
> The requesting entity is not authorized to receive presence from the target > entity (i.e., via a presence subscription of type "both" or "from") That reads to me like the requesting entity needs a "both" or "from" subscription. That wouldn't make sense though, because a "from" would imply the target is not sharing presence with the requesting entity. To make it work I read it like this, capitals my additions: > The requesting entity is not authorized to receive presence from the target > entity (i.e., via [THE TARGET HAVING] a presence subscription [TO THE > REQUESTING ENTITY] of type "both" or "from") Is this a correct reading? From the code I think this is how Prosody interprets it, and it makes intuitive sense (to me at least!). If this reading is correct, could I submit a patch to the XEP to clarify? Thanks in advance, Graham
