Skip to content

Commit

Permalink
Fix Show Drive Link
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentDemonSD authored Jul 3, 2023
1 parent 0f66669 commit 40d9420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/helper/listeners/tasks_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ async def onUploadComplete(self, link, size, files, folders, mime_type, name, rc
if is_DDL:
buttons.ubutton(BotTheme('DDL_LINK', Serv='GoFile'), link)
elif link:
if not config_dict['DISABLE_DRIVE_LINK'] and user_id == OWNER_ID:
if user_id == OWNER_ID or not config_dict['DISABLE_DRIVE_LINK']:
buttons.ubutton(BotTheme('CLOUD_LINK'), link)
else:
msg += BotTheme('RCPATH', RCpath=rclonePath)
Expand Down

0 comments on commit 40d9420

Please sign in to comment.