diff --git a/maubot/matrix.py b/maubot/matrix.py index 87c7b70..a99c1a4 100644 --- a/maubot/matrix.py +++ b/maubot/matrix.py @@ -63,7 +63,7 @@ async def parse_formatted( else: return message, escape(message) text = (await MaubotHTMLParser().parse(html)).text - if len(text) + len(html) > 60000: + if len(text) + len(html) > 40000: text = text[:100] + "[long message cut off]" return text, html