Update mautrix-python

This commit is contained in:
Tulir Asokan
2021-12-23 13:46:14 +02:00
parent 0711cfb5f7
commit 0127bb04ae
2 changed files with 2 additions and 2 deletions
@@ -33,11 +33,11 @@ log: TraceLogger = logging.getLogger("mau.fmt.mx")
class MatrixParser(BaseMatrixParser[TelegramMessage]): class MatrixParser(BaseMatrixParser[TelegramMessage]):
e = TelegramEntityType e = TelegramEntityType
fs = TelegramMessage fs = TelegramMessage
read_html = staticmethod(read_html)
client: TelegramClient client: TelegramClient
def __init__(self, client: TelegramClient) -> None: def __init__(self, client: TelegramClient) -> None:
self.client = client self.client = client
self.read_html = read_html
async def custom_node_to_fstring( async def custom_node_to_fstring(
self, node: HTMLNode, ctx: RecursionContext self, node: HTMLNode, ctx: RecursionContext
+1 -1
View File
@@ -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.0rc2 mautrix>=0.14.0rc4,<0.15
#telethon>=1.24,<1.25 #telethon>=1.24,<1.25
# Fork to make session storage async # Fork to make session storage async
tulir-telethon==1.25.0a1 tulir-telethon==1.25.0a1