fix unhandled send file
This commit is contained in:
parent
de332421f7
commit
62de447fd2
@ -1,6 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "tox/tox_events.h"
|
|
||||||
#include <solanaceae/toxcore/tox_event_interface.hpp>
|
#include <solanaceae/toxcore/tox_event_interface.hpp>
|
||||||
#include <solanaceae/contact/contact_model3.hpp>
|
#include <solanaceae/contact/contact_model3.hpp>
|
||||||
|
|
||||||
|
@ -600,7 +600,6 @@ bool ToxTransferManager::sendFilePath(const Contact3 c, std::string_view file_na
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
toxSendFilePath(c, 0, file_name, file_path);
|
return static_cast<bool>(toxSendFilePath(c, 0, file_name, file_path));
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user