fix mid generation for shares

This commit is contained in:
zotlabs 2019-02-07 11:18:34 -08:00
parent 7f6e4a9744
commit beb26e84f3

View File

@ -94,8 +94,8 @@ class Share extends \Zotlabs\Web\Controller {
$arr['item_origin'] = 1;
$arr['item_wall'] = $item['item_wall'];
$arr['mid'] = item_message_id();
$arr['mid'] = str_replace('/item/','/activity/',$arr['mid']);
$arr['uuid'] = item_message_id();
$arr['mid'] = z_root() . '/activity/' . $arr['uuid'];
$arr['parent_mid'] = $item['mid'];
$mention = '@[zrl=' . $item['author']['xchan_url'] . ']' . $item['author']['xchan_name'] . '[/zrl]';