Update mautrix-python

This commit is contained in:
Tulir Asokan
2020-07-09 16:59:01 +03:00
parent 4e670a8cbe
commit 31cac3eef3
2 changed files with 1 additions and 8 deletions
-7
View File
@@ -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
View File
@@ -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