62c14560e5
The previous code assumed that the homeserver would return `M_NOT_FOUND` when the endpoint wasn't implemented. But homeservers should return `M_UNRECOGNIZED` instead in this case. See https://spec.matrix.org/v1.18/client-server-api/#:~:text=The%20server%20did%20not%20understand%20the%20request%2E