[Standards] XEP-0191: Blocking of subscription request denials

Florian Schmaus flo at geekplace.eu
Fri Apr 6 08:03:21 UTC 2018


On 05.04.2018 22:59, Kim Alvefur wrote:
> Hey,
> 
> After implementing XEP-0191: Blocking Command, an issue was raised about
> how, if you blocked someone after they sent you a subscription request,
> you were unable to deny that subscription request.
> 
> Thoughts?

Isn't the block uni-directional, hence you are technically still able to
reject the subscription request even if the requesting entity is
blocked? Depending on the exact order of events, you may not receive the
incoming subscription request though.

How about having the server reject the subscription request on block, so
that it does not stay in limbo. And on subsequent incoming requests from
the blocked entity have the server send an error (or rejection) presence.

- Florian


More information about the Standards mailing list