Specify matrix_widget_id template variable per MSC2774

https://github.com/matrix-org/matrix-doc/pull/2774
This commit is contained in:
Travis Ralston 2020-11-22 18:04:29 -07:00
parent 4b6bf3221c
commit d5927ec75d
1 changed files with 1 additions and 0 deletions
specification

View File

@ -185,6 +185,7 @@ A few default variables, which MUST take priority over the same names in ``data`
* ``matrix_avatar_url`` - The current user's avatar URL as reported in their profile, or and empty
string if not present. This shouldn't be the ``mxc://`` form of the user's avatar, but instead the
full HTTP URL to the ``/media/download`` endpoint for their avatar from the Client-Server API.
* ``matrix_widget_id`` - The widget's ID to allow the widget to communicate effectively with the client.
.. WARNING::
The ``matrix_user_id`` variable MUST NOT be assumed to be the current authenticated user due to