aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-12-30 23:15:47 -0800
committerzotlabs <mike@macgirvin.com>2017-12-30 23:15:47 -0800
commit94e92bb4bf40d84c79777f0791670bf05a971f7c (patch)
tree5eb9a804b3b0aecec4061abb7d76ae592f60894e
parent3fadedcc54e9f937dbc461da7e99a851c044b6bf (diff)
downloadvolse-hubzilla-94e92bb4bf40d84c79777f0791670bf05a971f7c.tar.gz
volse-hubzilla-94e92bb4bf40d84c79777f0791670bf05a971f7c.tar.bz2
volse-hubzilla-94e92bb4bf40d84c79777f0791670bf05a971f7c.zip
update file thumbnails when imported/synced
-rw-r--r--include/import.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/import.php b/include/import.php
index a5e8adeb5..496bcd89e 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1328,6 +1328,9 @@ function sync_files($channel, $files) {
}
}
}
+
+ \Zotlabs\Daemon\Master::Summon([ 'Thumbnail' , $att['hash'] ]);
+
if($f['item']) {
sync_items($channel,$f['item'],
['channel_address' => $original_channel,'url' => $oldbase]