From 90d9c7c6651ecbc156f775298ff728b65b706687 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 16 Jul 2023 20:44:41 +0300 Subject: [PATCH] Update mautrix-python and Alpine version --- Dockerfile | 2 +- mautrix_twitter/example-config.yaml | 4 ++++ requirements.txt | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7486fbb..ba2e4e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/alpine:3.17 +FROM docker.io/alpine:3.18 RUN apk add --no-cache \ python3 py3-pip py3-setuptools py3-wheel \ diff --git a/mautrix_twitter/example-config.yaml b/mautrix_twitter/example-config.yaml index 3e69284..b092810 100644 --- a/mautrix_twitter/example-config.yaml +++ b/mautrix_twitter/example-config.yaml @@ -193,6 +193,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: diff --git a/requirements.txt b/requirements.txt index e387e37..01a12b4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,5 +4,5 @@ commonmark>=0.8,<0.10 aiohttp>=3,<4 yarl>=1,<2 attrs>=20.1 -mautrix==0.20.0rc1 +mautrix>=0.20.0,<0.21 asyncpg>=0.20,<0.28