Clarify what to do if no (new) docs

pull/977/head
David Baker 5 years ago
parent af691b5a8a
commit 1d75828c71

@ -174,11 +174,13 @@ documents that the user must agree to in order to use the service.
It then cross-references this set of documents against the `m.accepted_terms` It then cross-references this set of documents against the `m.accepted_terms`
account data and presents to the user any documents that they have not already account data and presents to the user any documents that they have not already
agreed to, along with UI for them to indicate their agreement. Once the user agreed to, along with UI for them to indicate their agreement. If there are no
has indicated their agreement, it adds these URLs to `m.accepted_terms` account such documents (ie. if the `policies` dict is empty or the user has already
data. Once this has succeeded, then, and only then, must the client perform agreed to all documents) the client proceeds to perform the OpenID
OpenID authentication, getting a token from the Homeserver and submitting this registration. Once the user has indicated their agreement, it adds these URLs
to the service using the `register` endpoint. to `m.accepted_terms` account data. Once this has succeeded, then, and only
then, must the client perform OpenID authentication, getting a token from the
Homeserver and submitting this to the service using the `register` endpoint.
Having done this, if the user agreed to any new documents, it performs a `POST Having done this, if the user agreed to any new documents, it performs a `POST
$prefix/terms` request to signal to the server the set of documents that the $prefix/terms` request to signal to the server the set of documents that the

Loading…
Cancel
Save