From 48fb5f0889404370006ae12b3637a77d7d4ba485 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Fri, 13 Oct 2023 20:38:52 +0200 Subject: [PATCH] allow to set the file path directly (not only the directory) --- solanaceae/message3/components.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/solanaceae/message3/components.hpp b/solanaceae/message3/components.hpp index dfed6eb..0741aa0 100644 --- a/solanaceae/message3/components.hpp +++ b/solanaceae/message3/components.hpp @@ -117,6 +117,7 @@ namespace Message::Components { // TODO: rename to start? or set or ... struct ActionAccept { std::string save_to_path; + bool path_is_file = false; // if the path is not the folder to place the file into, overwrites the name }; } // Transfer