Skip to content

Commit

Permalink
Force bot disclaimer when launching not from menu
Browse files Browse the repository at this point in the history
  • Loading branch information
morethanwords committed Sep 25, 2024
1 parent 63b7ad1 commit 70041be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/appManagers/appImManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -833,8 +833,8 @@ export class AppImManager extends EventListenerBase<{
};

if(
!options.attachMenuBot &&
(options.fromAttachMenu || options.fromSideMenu)
!options.attachMenuBot/* &&
(options.fromAttachMenu || options.fromSideMenu) */
) {
try {
options.attachMenuBot = await this.managers.appAttachMenuBotsManager.getAttachMenuBot(options.botId);
Expand Down

0 comments on commit 70041be

Please sign in to comment.