Skip to content

Commit

Permalink
fix: rss pagination in non private chat
Browse files Browse the repository at this point in the history
  • Loading branch information
fengkx committed Mar 10, 2021
1 parent deadc4b commit 7e602b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ bot.action(
bot.action(
/^RSS_(RAW_)*(\d+)/,
sendError,
onlyPrivateChat,
isAdmin,
async (ctx: MContext, next) => {
const cb = ctx.callbackQuery;
const splitedStr = cb.data.split('_');
Expand Down

0 comments on commit 7e602b4

Please sign in to comment.