From 543b50e73918918d1fabac67891dd80d97080942 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 16 Jul 2023 20:41:11 +0300 Subject: [PATCH] Update mautrix-python and Alpine version --- Dockerfile | 2 +- mautrix_facebook/example-config.yaml | 4 ++++ requirements.txt | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3cf6a79e..54eb5ef7 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_facebook/example-config.yaml b/mautrix_facebook/example-config.yaml index 509803ac..27250cdf 100644 --- a/mautrix_facebook/example-config.yaml +++ b/mautrix_facebook/example-config.yaml @@ -322,6 +322,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 8650c619..d1f68df6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ asyncpg>=0.20,<0.28 ruamel.yaml>=0.15.94,<0.18 commonmark>=0.8,<0.10 python-magic>=0.4,<0.5 -mautrix==0.20.0rc1 +mautrix>=0.20.0,<0.21 pycryptodome>=3,<4 paho-mqtt>=1.5,<2 zstandard