Merge pull request #1535 from turt2live/travis/as/no-sync

Add a note that application services cannot /sync normally
pull/977/head
Travis Ralston 6 years ago committed by GitHub
commit d468ae0fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -264,6 +264,14 @@ normal users who attempt to create users or aliases *inside* an application
service-defined namespace will receive the same ``M_EXCLUSIVE`` error code,
but only if the application service has defined the namespace as ``exclusive``.
Using ``/sync`` and ``/events``
+++++++++++++++++++++++++++++++
Application services wishing to use ``/sync`` or ``/events`` from the Client-Server
API MUST do so with a virtual user (provide a ``user_id`` via the query string). It
is expectected that the application service use the transactions pushed to it to
handle events rather than syncing with the user implied by ``sender_localpart``.
ID conventions
~~~~~~~~~~~~~~
.. TODO-spec

Loading…
Cancel
Save