From af7731f00e454b510a91c04aae54d51fa141578f Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Mon, 30 Oct 2017 10:09:35 -0400 Subject: [PATCH] Document no-show-image-url --- README.md | 1 + config.json.example | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index a601ef8..9c40593 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ First, copy config.json.example to config.json. Then fill in the fields: * `hosts.bare`: Just the (sub)domain of the server. * `user_id_format`: A Python `str.format`-style string to format user IDs as * `db_url`: A SQLAlchemy URL for the database. See the [SQLAlchemy docs](http://docs.sqlalchemy.org/en/latest/core/engines.html). +* `print_url_with_image`: Set to `false` to disable sending the Matrix url of an image to Telegram. **Synapse configuration** diff --git a/config.json.example b/config.json.example index 67378e0..8e60cbf 100644 --- a/config.json.example +++ b/config.json.example @@ -15,5 +15,7 @@ "user_id_format": "@telegram_{}:DOMAIN.TLD", "db_url": "sqlite:///database.db", + "print_url_with_image": true + "as_port": 5000 }