mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-24 09:58:38 +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>
|
||||
}
|
||||
|
||||
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
|
||||
--------
|
||||
.. NOTE::
|
||||
|
|
|
|||
Loading…
Reference in a new issue