diff options
author | Zot <mike@macgirvin.com> | 2021-02-24 08:35:29 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-02-24 08:35:29 +0000 |
commit | df362e4f81430249af22f060ff4b11a58e9a0a59 (patch) | |
tree | a017074fa72b6c97da3af7ae9e469c3a064451ff /include/attach.php | |
parent | 82ee98017212bffc040bcaa91c7d89432860edae (diff) | |
download | volse-hubzilla-df362e4f81430249af22f060ff4b11a58e9a0a59.tar.gz volse-hubzilla-df362e4f81430249af22f060ff4b11a58e9a0a59.tar.bz2 volse-hubzilla-df362e4f81430249af22f060ff4b11a58e9a0a59.zip |
export compatibility from hubzilla to zap
Diffstat (limited to 'include/attach.php')
-rw-r--r-- | include/attach.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/attach.php b/include/attach.php index 9ba6be109..db7046ef0 100644 --- a/include/attach.php +++ b/include/attach.php @@ -2339,7 +2339,7 @@ function filepath_macro($s) { } -function attach_export_data($channel, $resource_id, $deleted = false) { +function attach_export_data($channel, $resource_id, $deleted = false, $zap_compat = false) { $ret = array(); @@ -2429,7 +2429,7 @@ function attach_export_data($channel, $resource_id, $deleted = false) { xchan_query($items); $items = fetch_post_tags($items,true); foreach($items as $rr) - $ret['item'][] = encode_item($rr,true); + $ret['item'][] = encode_item($rr,true,$zap_compat); } } } |