aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/React.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-07-11 16:11:52 +0200
committerMario Vavti <mario@mariovavti.com>2017-07-11 16:11:52 +0200
commit403e90861cccecc3179e380b084238e1294fe61e (patch)
treea14f7f3710f729fb91bc2242781cc7b2623b68aa /Zotlabs/Module/React.php
parent271ed82d0def7b658f074ada9adb1aaa51bdd507 (diff)
parent2d63bbb91e97d3a54440564620ef3093ecbe71fb (diff)
downloadvolse-hubzilla-403e90861cccecc3179e380b084238e1294fe61e.tar.gz
volse-hubzilla-403e90861cccecc3179e380b084238e1294fe61e.tar.bz2
volse-hubzilla-403e90861cccecc3179e380b084238e1294fe61e.zip
Merge red/master
Diffstat (limited to 'Zotlabs/Module/React.php')
-rw-r--r--Zotlabs/Module/React.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/React.php b/Zotlabs/Module/React.php
index ed4f87e7e..6cd79c952 100644
--- a/Zotlabs/Module/React.php
+++ b/Zotlabs/Module/React.php
@@ -39,6 +39,10 @@ class React extends \Zotlabs\Web\Controller {
$n['author_xchan'] = $channel['channel_hash'];
$x = item_store($n);
+
+ if(local_channel())
+ retain_item($postid);
+
if($x['success']) {
$nid = $x['item_id'];
\Zotlabs\Daemon\Master::Summon(array('Notifier','like',$nid));