How to handle version control for Flowupload App

Hello friends,

I am using flowupload app, But its not handling versions of uploaded files.

i am using existing “files_versions” app on Nextcloud version control.
So now adding these code on Flowupload app “ajax/upload.php”

if (\OC\Files\Filesystem::file_exists($file_path)) {
	$source = $file_path;
	$list_uid_filename = OCA\Files_Versions\Storage::getUidAndFilename($source);
	$store = OCA\Files_Versions\Storage::store($list_uid_filename[1]);

its working.

Good work! Did you already inform the developers in their repository on Github?

If not you could post your changes there to contribute your solution.