diff options
author | Mario <mario@mariovavti.com> | 2019-05-03 08:36:58 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-05-03 08:36:58 +0200 |
commit | 6da4dfe605cc5dcffaf14f53549a61c0240e31bf (patch) | |
tree | 3107de4b8f3ac28e65c2896fecb7e4245bf8da0a /Zotlabs/Module/React.php | |
parent | b35961c53cde75b133411882e35c76ef4ffd35f3 (diff) | |
parent | 7b4cb31a10a3ad4b9c0c671014074362fa19cb6c (diff) | |
download | volse-hubzilla-6da4dfe605cc5dcffaf14f53549a61c0240e31bf.tar.gz volse-hubzilla-6da4dfe605cc5dcffaf14f53549a61c0240e31bf.tar.bz2 volse-hubzilla-6da4dfe605cc5dcffaf14f53549a61c0240e31bf.zip |
Merge branch 'unfriend_delete_posts_bug' into 'dev'
Unfriend delete posts bug
See merge request hubzilla/core!1624
Diffstat (limited to 'Zotlabs/Module/React.php')
-rw-r--r-- | Zotlabs/Module/React.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Zotlabs/Module/React.php b/Zotlabs/Module/React.php index 3920301f5..f80b04a3f 100644 --- a/Zotlabs/Module/React.php +++ b/Zotlabs/Module/React.php @@ -59,6 +59,14 @@ class React extends \Zotlabs\Web\Controller { $n['body'] = "\n\n[zmg=32x32]" . z_root() . '/images/emoji/' . $emoji . '.png[/zmg]' . "\n\n"; $n['author_xchan'] = $channel['channel_hash']; + $n['tgt_type'] = 'Image'; + $n['target'] = [ + 'type' => 'Image', + 'name' => $emoji, + 'url' => z_root() . '/images/emoji/' . $emoji . '.png' + ]; + + $x = item_store($n); retain_item($postid); |