diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-11-16 10:11:46 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-11-16 10:11:46 +0100 |
commit | c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7 (patch) | |
tree | fe411c26c6a7fea7b6d2b54449ec84d0dbe51033 /Zotlabs/Module/React.php | |
parent | ca4e7f9b4fab7035e511582a0755d58e9e4fa2f0 (diff) | |
parent | b0689614bff4272f90b0c3f064ca91b16cb392e0 (diff) | |
download | volse-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/React.php')
-rw-r--r-- | Zotlabs/Module/React.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Module/React.php b/Zotlabs/Module/React.php index fbb760786..3920301f5 100644 --- a/Zotlabs/Module/React.php +++ b/Zotlabs/Module/React.php @@ -44,6 +44,7 @@ class React extends \Zotlabs\Web\Controller { return; } + $uuid = item_message_id(); $n = array(); $n['aid'] = $channel['channel_account_id']; @@ -52,7 +53,8 @@ class React extends \Zotlabs\Web\Controller { $n['item_type'] = $i[0]['item_type']; $n['parent'] = $postid; $n['parent_mid'] = $i[0]['mid']; - $n['mid'] = item_message_id(); + $n['uuid'] = $uuid; + $n['mid'] = z_root() . '/item/' . $uuid; $n['verb'] = ACTIVITY_REACT . '#' . $emoji; $n['body'] = "\n\n[zmg=32x32]" . z_root() . '/images/emoji/' . $emoji . '.png[/zmg]' . "\n\n"; $n['author_xchan'] = $channel['channel_hash']; |