send file sync packets for all known file operations

This commit is contained in:
redmatrix
2016-04-07 18:54:48 -07:00
parent 3a6187af3d
commit 279f32b13d
7 changed files with 112 additions and 47 deletions

View File

@@ -890,6 +890,11 @@ function sync_files($channel,$files) {
$attachment_stored = false;
foreach($f['attach'] as $att) {
if($att['deleted']) {
attach_delete($channel,$att['hash']);
continue;
}
$attach_exists = false;
$x = attach_by_hash($att['hash']);