diff --git a/include/items.php b/include/items.php index 893b06930..a87ca747a 100644 --- a/include/items.php +++ b/include/items.php @@ -4874,6 +4874,11 @@ function fix_attached_permissions($uid,$body,$str_contact_allow,$str_group_allow intval($uid) ); } + $sync = attach_export_data($channel, $file); + + if ($sync) { + Libsync::build_sync_packet($channel['channel_id'], ['file' => [$sync]]); + } } }