Update dependencies and fix some things in config updater
This commit is contained in:
@@ -171,12 +171,10 @@ class Config(BaseBridgeConfig):
|
|||||||
|
|
||||||
copy("bridge.bot_messages_as_notices")
|
copy("bridge.bot_messages_as_notices")
|
||||||
if isinstance(self["bridge.bridge_notices"], bool):
|
if isinstance(self["bridge.bridge_notices"], bool):
|
||||||
base["bridge.bridge_notices"] = {
|
base["bridge.bridge_notices"]["default"] = self["bridge.bridge_notices"]
|
||||||
"default": self["bridge.bridge_notices"],
|
|
||||||
"exceptions": ["@importantbot:example.com"],
|
|
||||||
}
|
|
||||||
else:
|
else:
|
||||||
copy("bridge.bridge_notices")
|
copy("bridge.bridge_notices.default")
|
||||||
|
copy("bridge.bridge_notices.exceptions")
|
||||||
|
|
||||||
if "bridge.message_formats.m_text" in self:
|
if "bridge.message_formats.m_text" in self:
|
||||||
del self["bridge.message_formats"]
|
del self["bridge.message_formats"]
|
||||||
@@ -205,7 +203,7 @@ class Config(BaseBridgeConfig):
|
|||||||
permissions[entry] = "admin"
|
permissions[entry] = "admin"
|
||||||
base["bridge.permissions"] = permissions
|
base["bridge.permissions"] = permissions
|
||||||
else:
|
else:
|
||||||
copy_dict("bridge.permissions")
|
copy_dict("bridge.permissions", override_existing_map=True)
|
||||||
|
|
||||||
if "bridge.relaybot" not in self:
|
if "bridge.relaybot" not in self:
|
||||||
copy("bridge.authless_relaybot_portals", "bridge.relaybot.authless_portals")
|
copy("bridge.authless_relaybot_portals", "bridge.relaybot.authless_portals")
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ aiodns
|
|||||||
brotli
|
brotli
|
||||||
|
|
||||||
#/qr_login
|
#/qr_login
|
||||||
pillow>=4,<9
|
pillow>=4,<10
|
||||||
qrcode>=6,<8
|
qrcode>=6,<8
|
||||||
|
|
||||||
#/hq_thumbnails
|
#/hq_thumbnails
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ python-magic>=0.4,<0.5
|
|||||||
commonmark>=0.8,<0.10
|
commonmark>=0.8,<0.10
|
||||||
aiohttp>=3,<4
|
aiohttp>=3,<4
|
||||||
yarl>=1,<2
|
yarl>=1,<2
|
||||||
mautrix>=0.14.1,<0.15
|
mautrix>=0.14.3,<0.15
|
||||||
#telethon>=1.24,<1.25
|
#telethon>=1.24,<1.25
|
||||||
# Fork to make session storage async and update to layer 137
|
# Fork to make session storage async and update to layer 137
|
||||||
tulir-telethon==1.25.0a3
|
tulir-telethon==1.25.0a3
|
||||||
|
|||||||
Reference in New Issue
Block a user