Skip to content

Commit

Permalink
Fix chat id for replies
Browse files Browse the repository at this point in the history
  • Loading branch information
b00bl1k committed Dec 14, 2023
1 parent bd824e8 commit 74b111a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avbot/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def on_reply_msg(update: Update, context: CallbackContext):
original_message_id = REPLIES.pop(replied_id, None)
if original_message_id:
context.bot.send_message(
chat_id=update.message.reply_to_message.chat.id,
chat_id=update.message.reply_to_message.forward_from.id,
reply_to_message_id=original_message_id,
text=update.message.text,
)
Expand Down

0 comments on commit 74b111a

Please sign in to comment.