From 6809ebcde9569c3d81ee92dd5f927db3bb44bd2b Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 29 Oct 2023 02:00:10 +0300 Subject: [PATCH] Update Telethon --- mautrix_telegram/formatter/from_matrix/parser.py | 8 -------- requirements.txt | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/mautrix_telegram/formatter/from_matrix/parser.py b/mautrix_telegram/formatter/from_matrix/parser.py index daf87f3e..3c5e983d 100644 --- a/mautrix_telegram/formatter/from_matrix/parser.py +++ b/mautrix_telegram/formatter/from_matrix/parser.py @@ -82,14 +82,6 @@ class MatrixParser(BaseMatrixParser[TelegramMessage]): prefix = "#" * length + " " return TelegramMessage.join(children, "").prepend(prefix).format(TelegramEntityType.BOLD) - async def blockquote_to_fstring( - self, node: HTMLNode, ctx: RecursionContext - ) -> TelegramMessage: - msg = await self.tag_aware_parse_node(node, ctx) - children = msg.trim().split("\n") - children = [child.prepend("> ") for child in children] - return TelegramMessage.join(children, "\n") - async def color_to_fstring(self, msg: TelegramMessage, color: str) -> TelegramMessage: return msg diff --git a/requirements.txt b/requirements.txt index fb196e8d..81ee620b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ commonmark>=0.8,<0.10 aiohttp>=3,<4 yarl>=1,<2 mautrix>=0.20.2,<0.21 -tulir-telethon==1.32.0a2 +tulir-telethon==1.32.0a3 asyncpg>=0.20,<0.29 mako>=1,<2 setuptools