Update mautrix-python
This commit is contained in:
@@ -24,11 +24,6 @@ from .puppet import Puppet
|
||||
from .telegram_file import TelegramFile
|
||||
from .user import User, UserPortal, Contact
|
||||
|
||||
try:
|
||||
from mautrix.bridge.db.nio_state_store import init as init_nio_db
|
||||
except ImportError:
|
||||
init_nio_db = None
|
||||
|
||||
|
||||
def init(db_engine: Engine) -> None:
|
||||
for table in (Portal, Message, User, Contact, UserPortal, Puppet, TelegramFile, UserProfile,
|
||||
@@ -37,5 +32,3 @@ def init(db_engine: Engine) -> None:
|
||||
table.t = table.__table__
|
||||
table.c = table.t.c
|
||||
table.column_names = table.c.keys()
|
||||
if init_nio_db:
|
||||
init_nio_db(db_engine)
|
||||
|
||||
+1
-1
@@ -4,6 +4,6 @@ ruamel.yaml>=0.15.35,<0.17
|
||||
python-magic>=0.4,<0.5
|
||||
commonmark>=0.8,<0.10
|
||||
aiohttp>=3,<4
|
||||
mautrix==0.6.0.beta4
|
||||
mautrix==0.6.0.beta5
|
||||
telethon>=1.13,<1.16
|
||||
telethon-session-sqlalchemy>=0.2.14,<0.3
|
||||
|
||||
Reference in New Issue
Block a user