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
pull/977/head
Travis Ralston 5 years ago
parent ae163ab818
commit b662a33081

@ -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…
Cancel
Save