mirror of
https://github.com/tinode/chat.git
synced 2026-05-07 20:12:42 +00:00
merge remote
This commit is contained in:
@@ -296,6 +296,10 @@ type configType struct {
|
||||
// when the country isn't specified by the client explicitly and
|
||||
// it's impossible to infer it.
|
||||
DefaultCountryCode string `json:"default_country_code"`
|
||||
// Enable service which generates link previews: in response to a GET request with a URL
|
||||
// /v0/urlpreview?url=https%3A%2F%2Ftinode.co visit the URL, parse HTML, and return JSON like
|
||||
// {"title": "Page title", description: "This is a demo page", image_url: "https://tinode.co/img/logo.png"}.
|
||||
LinkPreviewEnabled bool `json:"link_preview_enabled"`
|
||||
|
||||
// Configs for subsystems
|
||||
Cluster json.RawMessage `json:"cluster_config"`
|
||||
|
||||
Reference in New Issue
Block a user