Skip to content

Commit

Permalink
fix /link control panel callback
Browse files Browse the repository at this point in the history
  • Loading branch information
makeding committed Jul 23, 2024
1 parent 05351ab commit a4db703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ bot.on('callback_query', async (ctx) => {
await update_setting({
add_link_chat: link_setting
}, chat_id)
await bot.api.editMessageReplyMarkup(chat_id, message_id, false, k_link_setting(ctx.l, link_setting).reply_markup)
await ctx.editMessageReplyMarkup(k_link_setting(ctx.l, link_setting))
apply_flag = true
}
catch (error) {
Expand Down

0 comments on commit a4db703

Please sign in to comment.