Răsfoiți Sursa

Update mautrix-python and Alpine version

Tulir Asokan 1 an în urmă
părinte
comite
cafb733aae
3 a modificat fișierele cu 6 adăugiri și 2 ștergeri
  1. 1 1
      Dockerfile
  2. 4 0
      mautrix_instagram/example-config.yaml
  3. 1 1
      requirements.txt

+ 1 - 1
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 \

+ 4 - 0
mautrix_instagram/example-config.yaml

@@ -250,6 +250,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:

+ 1 - 1
requirements.txt

@@ -4,7 +4,7 @@ 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
 pycryptodome>=3,<4
 paho-mqtt>=1.5,<2