aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-01-19 20:10:50 +0000
committerMario <mario@mariovavti.com>2024-01-19 20:10:50 +0000
commitfa4ab45692e5deaee3a51408a43c00a834f99903 (patch)
treec65ffa9cac472857eb8f45fa10c304fffc1389eb /Zotlabs/Module
parent9cc85adf4734aec5bdaf7057b5885849a40c4340 (diff)
downloadvolse-hubzilla-fa4ab45692e5deaee3a51408a43c00a834f99903.tar.gz
volse-hubzilla-fa4ab45692e5deaee3a51408a43c00a834f99903.tar.bz2
volse-hubzilla-fa4ab45692e5deaee3a51408a43c00a834f99903.zip
native repeats continued
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Like.php4
-rw-r--r--Zotlabs/Module/Share.php2
2 files changed, 4 insertions, 2 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index 54daf6471..4dd43b682 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -21,6 +21,7 @@ class Like extends Controller {
$acts = [
'like' => ACTIVITY_LIKE,
'dislike' => ACTIVITY_DISLIKE,
+ 'announce' => ACTIVITY_SHARE,
'agree' => ACTIVITY_AGREE,
'disagree' => ACTIVITY_DISAGREE,
'abstain' => ACTIVITY_ABSTAIN,
@@ -71,11 +72,12 @@ class Like extends Controller {
$activities = q("SELECT item.*, item.id AS item_id FROM item
WHERE uid = %d $item_normal
AND thr_parent = '%s'
- AND verb IN ('%s', '%s', '%s', '%s', '%s')",
+ AND verb IN ('%s', '%s', '%s', '%s', '%s', '%s')",
intval($arr['item']['uid']),
dbesc($arr['item']['mid']),
dbesc(ACTIVITY_LIKE),
dbesc(ACTIVITY_DISLIKE),
+ dbesc(ACTIVITY_SHARE),
dbesc(ACTIVITY_ATTEND),
dbesc(ACTIVITY_ATTENDNO),
dbesc(ACTIVITY_ATTENDMAYBE)
diff --git a/Zotlabs/Module/Share.php b/Zotlabs/Module/Share.php
index eb22b5802..248126f7f 100644
--- a/Zotlabs/Module/Share.php
+++ b/Zotlabs/Module/Share.php
@@ -123,7 +123,7 @@ class Share extends \Zotlabs\Web\Controller {
call_hooks('post_local_end', $arr);
- info( t('Post repeated') . EOL);
+ // info( t('Post repeated') . EOL);
$r = q("select * from item where id = %d",
intval($post_id)