add item.uuid to relevant places

This commit is contained in:
zotlabs
2018-11-15 16:34:09 -08:00
parent 8d2f4d9dfd
commit 39d914c9df
11 changed files with 44 additions and 32 deletions

View File

@@ -70,7 +70,8 @@ class Mood extends Controller {
$poster = App::get_observer();
$mid = item_message_id();
$uuid = item_message_id();
$mid = z_root() . '/item/' . $uuid;
$action = sprintf( t('%1$s is %2$s','mood'), '[zrl=' . $poster['xchan_url'] . ']' . $poster['xchan_name'] . '[/zrl]' , $verbs[$verb]);
@@ -78,6 +79,7 @@ class Mood extends Controller {
$arr['aid'] = get_account_id();
$arr['uid'] = $uid;
$arr['uuid'] = $uuid;
$arr['mid'] = $mid;
$arr['parent_mid'] = (($parent_mid) ? $parent_mid : $mid);
$arr['author_xchan'] = $poster['xchan_hash'];