allow to set the file path directly (not only the directory)

This commit is contained in:
Green Sky 2023-10-13 20:38:52 +02:00
parent c577a1fa3d
commit 48fb5f0889
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -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