[Standards] Expected behavior when blocking all unknown JIDs

Sam Whited sam at samwhited.com
Wed Jan 11 20:41:51 UTC 2017


Hi all,

There was brief discussion earlier about adding the ability to "block
everyone that I don't have in my roster" to XEP-0191: Blocking Command
[1].

I was thinking about how this could be done, and it occured to me that
it may break the UX a bit. Currently the blocking command blocks
*everything* from blocked JIDs; so if you block all JIDs not on your
roster, you could never receive a subscription request to add them to
your roster. If two accounts both had non-contacts blocked, they'd
effectively have to add eachother in parallel; there would be no
ability to send a request. We could of course add the ability to block
just messages and IQs from contacts not in your roster, but then you
could still receive spam via subscription requests with a message.

What would people generally expect to happen in this situation? The
more I think about it the more I think doing this is effectively an
anti-pattern that we shouldn't support (I've never heard of someone
blocking everyone who wasn't in their address book from sending them
emails), but I wanted to find out what the community thinks.

—Sam

[1]: https://xmpp.org/extensions/xep-0191.html


More information about the Standards mailing list