do more check

This commit is contained in:
2021-01-18 21:49:12 +08:00
parent b71f39df70
commit b56b2ae33a
3 changed files with 9 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ def getInlineKeyBoardForRSSInList(chatId: int, rssEntry: RSSEntry, index: int, i
i = i + 1
d[i].append(
{'text': '取消订阅', 'callback_data': f'1,{chatId},{InlineKeyBoardForRSSList.Unsubscribe.value},{index}'})
if isOwner:
if not rssEntry.forceupdate and isOwner:
d.append([])
i = i + 1
d[i].append(