chore: commented-out code for user storages check, for we have send_here feature now

This commit is contained in:
krau
2025-05-28 16:10:31 +08:00
parent 8ea5be5b90
commit 6c2bfd72cd
4 changed files with 19 additions and 21 deletions

View File

@@ -49,9 +49,9 @@ func getSelectStorageMarkup(userChatID int64, fileChatID, fileMessageID int) (*t
return nil, fmt.Errorf("failed to get user by chat ID: %d, error: %w", userChatID, err)
}
storages := storage.GetUserStorages(user.ChatID)
if len(storages) == 0 {
return nil, ErrNoStorages
}
// if len(storages) == 0 {
// return nil, ErrNoStorages
// }
buttons := make([]tg.KeyboardButtonClass, 0)
for _, storage := range storages {