diff options
author | zotlabs <mike@macgirvin.com> | 2018-11-12 18:25:55 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-11-12 18:25:55 -0800 |
commit | 1a2df9c51c4692fce433f483aba1b91738609df7 (patch) | |
tree | 2d62c4369e621b24b0f6047c62aca1599042f6a9 /Zotlabs/Module/Item.php | |
parent | 770fdb2b7d095d763d43ffe8d2f6b5b2182673cb (diff) | |
download | volse-hubzilla-1a2df9c51c4692fce433f483aba1b91738609df7.tar.gz volse-hubzilla-1a2df9c51c4692fce433f483aba1b91738609df7.tar.bz2 volse-hubzilla-1a2df9c51c4692fce433f483aba1b91738609df7.zip |
item uuid changes
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r-- | Zotlabs/Module/Item.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index 1e1df9d56..464daa516 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -732,7 +732,8 @@ class Item extends \Zotlabs\Web\Controller { $notify_type = (($parent) ? 'comment-new' : 'wall-new' ); if(! $mid) { - $mid = (($message_id) ? $message_id : item_message_id()); + $uuid = (($message_id) ? $message_id : item_message_id()); + $mid = z_root() . '/item/' . $uuid; } @@ -787,6 +788,7 @@ class Item extends \Zotlabs\Web\Controller { $datarray['aid'] = $channel['channel_account_id']; $datarray['uid'] = $profile_uid; + $datarray['uuid'] = $uuid; $datarray['owner_xchan'] = (($owner_hash) ? $owner_hash : $owner_xchan['xchan_hash']); $datarray['author_xchan'] = $observer['xchan_hash']; $datarray['created'] = $created; |