From b2c71d53295a58bd5e7c89ab5748ca49fec18d5e Mon Sep 17 00:00:00 2001
From: Arash Kadkhodaei <arash77.kad@gmail.com>
Date: Tue, 16 Jul 2024 11:54:44 +0200
Subject: [PATCH] Revert "Use 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 d26c8b1..abd051a 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" + content,
+            preview + "\n" + message_content["formatted_body"],
             warnings,
         )