aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Like.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-11-15 16:02:29 -0800
committerzotlabs <mike@macgirvin.com>2018-11-15 16:02:29 -0800
commit8d2f4d9dfd90d218a68e0e36ccf537d800b09755 (patch)
tree12c33c7117baa91fd1265440a4f2cc9280d8136b /Zotlabs/Module/Like.php
parenta7d2f9b53005f0c27ddfe1ef32fab78591c5374f (diff)
downloadvolse-hubzilla-8d2f4d9dfd90d218a68e0e36ccf537d800b09755.tar.gz
volse-hubzilla-8d2f4d9dfd90d218a68e0e36ccf537d800b09755.tar.bz2
volse-hubzilla-8d2f4d9dfd90d218a68e0e36ccf537d800b09755.zip
mid -> uuid conversions for basic reactions
Diffstat (limited to 'Zotlabs/Module/Like.php')
-rw-r--r--Zotlabs/Module/Like.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index 4e216f08b..c39726b88 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -371,10 +371,13 @@ class Like extends \Zotlabs\Web\Controller {
}
}
- $mid = item_message_id();
+ $uuid = item_message_id();
$arr = array();
+ $arr['uuid'] = $uuid;
+ $arr['mid'] = z_root() . '/item/' . $uuid;
+
if($extended_like) {
$arr['item_thread_top'] = 1;
$arr['item_origin'] = 1;
@@ -476,7 +479,6 @@ class Like extends \Zotlabs\Web\Controller {
}
- $arr['mid'] = $mid;
$arr['aid'] = (($extended_like) ? $ch[0]['channel_account_id'] : $owner_aid);
$arr['uid'] = $owner_uid;