aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-12-30 23:15:47 -0800
committerMario <mario@mariovavti.com>2018-01-03 12:15:09 +0100
commit94212766cc913f318d7a39cbaa6726da24609207 (patch)
tree41456f8220ac386688ac4abcec2dfc54a556b0cf
parent5b436d8fc36def68055c269253f163f738ac2604 (diff)
downloadvolse-hubzilla-94212766cc913f318d7a39cbaa6726da24609207.tar.gz
volse-hubzilla-94212766cc913f318d7a39cbaa6726da24609207.tar.bz2
volse-hubzilla-94212766cc913f318d7a39cbaa6726da24609207.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]