mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-31 03:23:42 +01:00
document the concept of a standard external_url field for gatewayed events
This commit is contained in:
parent
bcba42651a
commit
f3a498d0bb
|
|
@ -425,6 +425,15 @@ SHOULD be mapped in the same way as "user" URIs.
|
||||||
alias: <complete room alias on local HS>
|
alias: <complete room alias on local HS>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Event fields
|
||||||
|
~~~~~~~~~~~~
|
||||||
|
We recommend that any gatewayed events should include an `external_url` field in
|
||||||
|
their content to provide a way for Matrix clients to link into the 'native'
|
||||||
|
client from which the event originated. For instance, this could contain the
|
||||||
|
message-ID for emails/nntp posts, or a link to a blog comment when gatewaying
|
||||||
|
blog comment traffic in & out of matrix
|
||||||
|
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
--------
|
--------
|
||||||
.. NOTE::
|
.. NOTE::
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue