feat: copy pasted image file to download folder after successful upload

This commit is contained in:
shunf4 2021-10-16 00:20:31 +08:00
parent 52551c1ce0
commit 39f2f3d975
6 changed files with 34 additions and 5 deletions

View file

@ -405,7 +405,7 @@ void Squawk::fileError(const std::list<Shared::MessageInfo> msgs, const QString&
rosterModel.fileError(msgs, error, up);
}
void Squawk::fileUploadComplete(const std::list<Shared::MessageInfo> msgs, const QString& path)
void Squawk::fileUploadComplete(const std::list<Shared::MessageInfo> msgs, const QString& url, const QString& path)
{
rosterModel.fileComplete(msgs, true);
}