diff --git a/bot/plugins/deeplinks.py b/bot/plugins/deeplinks.py index 0e22b14..9e3c56e 100644 --- a/bot/plugins/deeplinks.py +++ b/bot/plugins/deeplinks.py @@ -17,6 +17,8 @@ async def send_file(event: NewMessage.Event | Message): if not message: return await event.reply(MessageNotExist) + if payload[2] != message.raw_text: + return await event.reply(InvalidPayloadText) message.raw_text = '' await send_message(message, send_to=event.chat_id)