From 5ac09003b98164177141ca75d519767719c7a672 Mon Sep 17 00:00:00 2001 From: hibobmaster Date: Tue, 11 Apr 2023 01:30:24 +0800 Subject: [PATCH] remove reply quote to provide raw message --- bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index cc77539..e52b5d4 100644 --- a/bot.py +++ b/bot.py @@ -485,7 +485,7 @@ class Bot: text = text.strip() try: await send_room_message(self.client, room_id, reply_message=text, - reply_to_event_id=reply_to_event_id, sender_id=sender_id, user_message=raw_user_message) + reply_to_event_id="", sender_id=sender_id, user_message=raw_user_message) except Exception as e: logger.error(f"Error: {e}", exc_info=True) @@ -503,7 +503,7 @@ class Bot: text = text.strip() try: await send_room_message(self.client, room_id, reply_message=text, - reply_to_event_id=reply_to_event_id, sender_id=sender_id, user_message=raw_user_message) + reply_to_event_id="", sender_id=sender_id, user_message=raw_user_message) except Exception as e: logger.error(f"Error: {e}", exc_info=True) @@ -520,7 +520,7 @@ class Bot: text = text.strip() try: await send_room_message(self.client, room_id, reply_message=text, - reply_to_event_id=reply_to_event_id, sender_id=sender_id, user_message=raw_user_message) + reply_to_event_id="", sender_id=sender_id, user_message=raw_user_message) except Exception as e: logger.error(f"Error: {e}", exc_info=True)