diff options
author | zotlabs <mike@macgirvin.com> | 2018-11-15 16:34:09 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-11-15 16:34:09 -0800 |
commit | 39d914c9dfe87021351cb2aad9feedd381e791ec (patch) | |
tree | f13c34440bc702085f7d7031a7d14ebb5e006285 /Zotlabs/Module/Subthread.php | |
parent | 8d2f4d9dfd90d218a68e0e36ccf537d800b09755 (diff) | |
download | volse-hubzilla-39d914c9dfe87021351cb2aad9feedd381e791ec.tar.gz volse-hubzilla-39d914c9dfe87021351cb2aad9feedd381e791ec.tar.bz2 volse-hubzilla-39d914c9dfe87021351cb2aad9feedd381e791ec.zip |
add item.uuid to relevant places
Diffstat (limited to 'Zotlabs/Module/Subthread.php')
-rw-r--r-- | Zotlabs/Module/Subthread.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Zotlabs/Module/Subthread.php b/Zotlabs/Module/Subthread.php index 1a9caff6c..54343fdfa 100644 --- a/Zotlabs/Module/Subthread.php +++ b/Zotlabs/Module/Subthread.php @@ -106,8 +106,9 @@ class Subthread extends \Zotlabs\Web\Controller { - $mid = item_message_id(); - + $uuid = item_message_id(); + $mid = z_root() . '/item/' . $uuid; + $post_type = (($item['resource_type'] === 'photo') ? t('photo') : t('status')); $links = array(array('rel' => 'alternate','type' => 'text/html', 'href' => $item['plink'])); @@ -145,6 +146,7 @@ class Subthread extends \Zotlabs\Web\Controller { $arr = array(); + $arr['uuid'] = $uuid; $arr['mid'] = $mid; $arr['aid'] = $owner_aid; $arr['uid'] = $owner_uid; |