From e0b42ad667ecef1c791813bb02a7066414463a43 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 17 Jul 2024 06:28:16 +0000 Subject: [PATCH] Upgrade to v0.15.2 --- conf/config.yaml | 13 ++++++++++--- manifest.toml | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/conf/config.yaml b/conf/config.yaml index 193f7f8..4c78dab 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -207,6 +207,11 @@ bridge: image_as_file_size: 10 # Maximum number of pixels in an image before sending to Telegram as a document. Defaults to 4096x4096 = 16777216. image_as_file_pixels: 16777216 + # Maximum size of Telegram documents before linking to Telegrm instead of bridge + # to Matrix media. + document_as_link_size: + channel: + bot: # Enable experimental parallel file transfer, which makes uploads/downloads much faster by # streaming from/to Matrix and using many connections for Telegram. # Note that generating HQ thumbnails for videos is not possible with streamed transfers. @@ -500,9 +505,9 @@ bridge: # domain - All users on that homeserver # mxid - Specific user permissions: - "__LISTRELAYBOT__": "relaybot" - "__LISTPUPPETING__": "puppeting" - "__LISTADMIN__": "admin" + "*": "relaybot" + "__BOTUSERS__": "puppeting" + "__BOTADMIN__": "admin" # Options related to the message relay Telegram bot. relaybot: private_chat: @@ -541,6 +546,8 @@ telegram: # Should incoming updates be handled sequentially to make sure order is preserved on Matrix? sequential_updates: true exit_on_update_error: false + # Interval to force refresh the connection (full reconnect). 0 disables it. + force_refresh_interval_seconds: 0 # Telethon connection options. connection: # The timeout in seconds to be used when connecting. diff --git a/manifest.toml b/manifest.toml index 8a3eec7..677fb2a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -4,7 +4,7 @@ id = "mautrix_telegram" name = "Matrix-Telegram bridge" description.en = "Telegram puppeting bridge for Matrix/Synapse" description.fr = "Passerelle Telegram pour Matrix/Synapse" -version = "0.15.1~ynh2" +version = "0.15.2~ynh1" maintainers = ["thardev"] [upstream]