Skip to content

Commit

Permalink
TgBot++: database cmd: Make keyboard selective
Browse files Browse the repository at this point in the history
  • Loading branch information
Royna2544 committed Jun 29, 2024
1 parent c269d0e commit 6a0c08a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/command_modules/database_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ void handleDatabaseCmd(Bot& bot, const Message::Ptr& message) {
reply->keyboard[1][1]->text = removefromblacklist;
reply->oneTimeKeyboard = true;
reply->resizeKeyboard = true;
reply->selective = true;

if (!wrapper.switchToReplyToMessage(GETSTR(REPLY_TO_USER_MSG))) {
return;
Expand Down

0 comments on commit 6a0c08a

Please sign in to comment.