From b6f3c4d1990fdef45569acdb13b07e243e86e112 Mon Sep 17 00:00:00 2001 From: Tanuj Date: Fri, 1 Jun 2018 02:13:09 +0100 Subject: [PATCH] fix ninja failing on replies --- stdplugins/ninja.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdplugins/ninja.py b/stdplugins/ninja.py index 1add409..edf22aa 100644 --- a/stdplugins/ninja.py +++ b/stdplugins/ninja.py @@ -12,7 +12,7 @@ from uniborg import util async def get_target_message(event): if event.is_reply and (await event.reply_message).from_id == borg.uid: - return event.reply_message + return await event.reply_message async for message in borg.iter_messages(await event.input_chat, limit=20): if message.out: return message