this may help weed out some smaller edge cases where a matrix account isnt public (i.e. an address on private homeserver, such as the dev environment) and therefore cant really be invited.
That said this should also be taken as a possible signal that a matrix ID may be incorrect, not a hard rule, since some environments (like the fedora dev environment or a testing instance) may be running with their own non-public homeservers and may not be able to use this
https://spec.matrix.org/v1.10/identity-service-api/#authentication
this may help weed out some smaller edge cases where a matrix account isnt public (i.e. an address on private homeserver, such as the dev environment) and therefore cant really be invited.
That said this should also be taken as a possible signal that a matrix ID may be incorrect, not a hard rule, since some environments (like the fedora dev environment or a testing instance) may be running with their own non-public homeservers and may not be able to use this