Recommend that clients don't preview URLs in encrypted rooms
Any stronger of a recommendation would probably require a MSC due to the behaviour change. Fixes https://github.com/matrix-org/matrix-doc/issues/2120
This commit is contained in:
parent
ae163ab818
commit
b662a33081
2 changed files with 9 additions and 0 deletions
|
@ -340,6 +340,14 @@ paths:
|
|||
"/preview_url":
|
||||
get:
|
||||
summary: "Get information about a URL for a client"
|
||||
description: |-
|
||||
Get information about a URL for the client. Typically this is called when a
|
||||
client sees a URL in a message and wants to render a preview for the user.
|
||||
|
||||
.. Note::
|
||||
Clients should consider avoiding this endpoint for URLs posted in encrypted
|
||||
rooms.
|
||||
|
||||
operationId: getUrlPreview
|
||||
produces: ["application/json"]
|
||||
security:
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Clarify that clients should consider not requesting URL previews in encrypted rooms.
|
Loading…
Add table
Add a link
Reference in a new issue