From 848fac1010bc9f3ec6375528eaa50dfb014b4c10 Mon Sep 17 00:00:00 2001 From: Arash Date: Wed, 12 Jun 2024 13:46:26 +0200 Subject: [PATCH] Use the body instead of formatted_body for preview in matrix plugin --- lib/plugins/matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/matrix.py b/lib/plugins/matrix.py index d36a5d0..498e79b 100644 --- a/lib/plugins/matrix.py +++ b/lib/plugins/matrix.py @@ -68,7 +68,7 @@ async def async_format_content(self, content, mentions, hashtags, images, **kwar await self.client.close() return ( formatted_content, - preview + "\n" + message_content["formatted_body"], + preview + "\n" + content, warnings, )