Fixup mautrix_telegram.scripts.dbms_migrate import for RoomState and UserProfile as it changed upstream.

This commit is contained in:
Sophie 'Sharky' Schumann
2020-07-26 21:20:49 +02:00
parent da91df5754
commit 5cf8a7a8a4
@@ -25,7 +25,7 @@ def log(message, end="\n"):
def connect(to):
from mautrix.util.db import Base
from mautrix.bridge.db import RoomState, UserProfile
from mautrix.client.state_store.sqlalchemy import RoomState, UserProfile
from mautrix_telegram.db import (Portal, Message, UserPortal, User, Contact, Puppet, BotChat,
TelegramFile)