make sure taa accept comp is contructed correctly

This commit is contained in:
Green Sky 2023-10-14 14:35:58 +02:00
parent 6dc4650862
commit 1d60915220
No known key found for this signature in database

View File

@ -34,7 +34,8 @@ void TransferAutoAccept::iterate(void) {
it.emplace<Message::Components::Transfer::ActionAccept>( it.emplace<Message::Components::Transfer::ActionAccept>(
// TODO: contact to entry // TODO: contact to entry
_conf.get_string("TransferAutoAccept", "save_path").value_or("tmp_save_dir") _conf.get_string("TransferAutoAccept", "save_path").value_or("tmp_save_dir"),
false
); );
std::cout << "TAA: auto accepted transfer\n"; std::cout << "TAA: auto accepted transfer\n";
_rmm.throwEventUpdate(it); _rmm.throwEventUpdate(it);