aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Like.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-11-16 10:11:46 +0100
committerMario Vavti <mario@mariovavti.com>2018-11-16 10:11:46 +0100
commitc69556f2ff9845b9ac1bce89be2431a7ac6d3fd7 (patch)
treefe411c26c6a7fea7b6d2b54449ec84d0dbe51033 /Zotlabs/Module/Like.php
parentca4e7f9b4fab7035e511582a0755d58e9e4fa2f0 (diff)
parentb0689614bff4272f90b0c3f064ca91b16cb392e0 (diff)
downloadvolse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.tar.gz
volse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.tar.bz2
volse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.zip
Merge remote-tracking branch 'mike/master' into dev
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;