mirror of
				https://github.com/kotatogram/kotatogram-desktop
				synced 2025-10-27 15:25:58 +00:00 
			
		
		
		
	Differ file download failure reasons
..and uncomment the code for handling incorrect permissions
This commit is contained in:
		| @@ -279,11 +279,11 @@ void LoadCloudFile( | ||||
| 		if (const auto onstack = progress) { | ||||
| 			onstack(); | ||||
| 		} | ||||
| 	}, [=, &file](bool started) { | ||||
| 	}, [=, &file](FileLoader::Error error) { | ||||
| 		finish(file); | ||||
| 		file.flags |= CloudFile::Flag::Failed; | ||||
| 		if (const auto onstack = fail) { | ||||
| 			onstack(started); | ||||
| 			onstack(error.started); | ||||
| 		} | ||||
| 	}, [=, &file] { | ||||
| 		finish(file); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user