From bd5aa91cd884d27ee4632334535250123094bbde Mon Sep 17 00:00:00 2001 From: lifegpc Date: Mon, 18 Jan 2021 21:54:42 +0800 Subject: [PATCH] fix bug --- rssbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rssbot.py b/rssbot.py index 777d8fb..92d53c1 100644 --- a/rssbot.py +++ b/rssbot.py @@ -1171,8 +1171,8 @@ class callbackQueryHandle(Thread): ind = max(min(ind, len(rssList)), 0) di['text'] = getTextContentForRSSInList(rssList[ind]) di['parse_mode'] = 'HTML' - di['reply_markup'] = getInlineKeyBoardForRSSSettingsInList( - chatId, rssList[ind], ind) + di['reply_markup'] = getInlineKeyBoardForRSSInList( + chatId, rssList[ind], ind, self._main._setting._botOwnerList.isOwner(self._fromUserId)) self._main._request("editMessageText", "post", json=di) return else: