From d2776fa2a352c8b107b5c9432ad3c36cd2a0cb2f Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 28 Jun 2023 06:11:50 +0000 Subject: [PATCH] Upgrade to v0.14.1 --- conf/app.src | 4 ++-- conf/config.yaml | 11 ++++++++++- manifest.json | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/conf/app.src b/conf/app.src index ee0e7ad..c5e34be 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/mautrix/telegram/archive/refs/tags/v0.14.0.tar.gz -SOURCE_SUM=95a2a73f942bc4a932ef2b7029333e272a23b0e9ec0d5bccb5531e8004370f10 +SOURCE_URL=https://github.com/mautrix/telegram/archive/refs/tags/v0.14.1.tar.gz +SOURCE_SUM=316cf75208f8776e30a8f9dc7d0825e0fb3aa34d0ad1ccfdff5acfeb665b81fa SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/config.yaml b/conf/config.yaml index 84e9c72..a3ed1e6 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -37,7 +37,7 @@ appservice: max_body_size: 1 # The full URI to the database. SQLite and Postgres are supported. # Format examples: - # SQLite: sqlite:///filename.db + # SQLite: sqlite:filename.db # Postgres: postgres://username:password@hostname/dbname database: postgres://__DB_USER__:__DB_PWD__@localhost:5432/__DB_NAME__ # Additional arguments for asyncpg.create_pool() or sqlite3.connect() @@ -276,6 +276,10 @@ bridge: delete_on_device_delete: false # Periodically delete megolm sessions when 2x max_age has passed since receiving the session. periodically_delete_expired: false + # Delete inbound megolm sessions that don't have the received_at field used for + # automatic ratcheting and expired session deletion. This is meant as a migration + # to delete old keys prior to the bridge update. + delete_outdated_inbound: false # What level of device verification should be required from users? # # Valid levels: @@ -310,6 +314,9 @@ bridge: # session before changing it. The Matrix spec recommends 100 as the # default. messages: 100 + # Disable rotating keys when a user's devices change? + # You should not enable this option unless you understand all the implications. + disable_device_change_key_rotation: false # Whether to explicitly set the avatar and room name for private chat portal rooms. # If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms. # If set to `always`, all DM rooms will have explicit names and avatars set. @@ -569,6 +576,8 @@ telegram: # is not recommended, since some requests can always trigger a call fail (such as searching # for messages). request_retries: 5 + # Use IPv6 for Telethon connection + use_ipv6: false # Device info sent to Telegram. device_info: # "auto" = OS name+version. diff --git a/manifest.json b/manifest.json index b24d7c6..021c1b4 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Telegram puppeting bridge for Matrix/Synapse", "fr": "Passerelle Telegram pour Matrix/Synapse" }, - "version": "0.14.0~ynh1", + "version": "0.14.1~ynh1", "url": "https://docs.mau.fi/bridges/python/telegram/index.html", "upstream": { "license": "AGPL-3.0-or-later",