Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec M_CONSENT_NOT_GIVEN error #287

Open
richvdh opened this issue May 22, 2018 · 1 comment
Open

spec M_CONSENT_NOT_GIVEN error #287

richvdh opened this issue May 22, 2018 · 1 comment
Labels
A-Client-Server Issues affecting the CS API spec-omission implemented but not currently specified

Comments

@richvdh
Copy link
Member

richvdh commented May 22, 2018

In particular note that it contains a consent_uri key which the client can deal with sensibly

@richvdh
Copy link
Member Author

richvdh commented May 22, 2018

example:

{
  "errcode": "M_CONSENT_NOT_GIVEN",
  "error": "You must consent to this server's privacy policy before you can send messages. Please visit https://matrix.org/_matrix/consent?h=58187615dad034e318158b35648e73dcf75596860550956b6030b8edd44c4a0b&u=%40richvdh%3Afred.sw1v.org.",
  "consent_uri": "https://matrix.org/_matrix/consent?h=58187615dad034e318158b35648e73dcf75596860550956b6030b8edd44c4a0b&u=%40richvdh%3Afred.sw1v.org"
}

This will be sent in an HTTP 403 response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Client-Server Issues affecting the CS API spec-omission implemented but not currently specified
Projects
None yet
Development

No branches or pull requests

2 participants