Respect original replies when sending a snip

This commit is contained in:
Lonami Exo 2018-04-23 16:11:40 +02:00
parent 95e900c1f6
commit 32acefa991
1 changed files with 3 additions and 2 deletions

View File

@ -29,8 +29,9 @@ async def on_snip(event):
else:
media = None
await borg.send_message(
await event.input_chat, snip['text'], file=media)
await borg.send_message(await event.input_chat, snip['text'],
file=media,
reply_to=event.message.reply_to_msg_id)
await event.delete()