diff options
author | Mario <mario@mariovavti.com> | 2024-01-19 20:10:50 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-01-19 20:10:50 +0000 |
commit | fa4ab45692e5deaee3a51408a43c00a834f99903 (patch) | |
tree | c65ffa9cac472857eb8f45fa10c304fffc1389eb /Zotlabs/Module/Like.php | |
parent | 9cc85adf4734aec5bdaf7057b5885849a40c4340 (diff) | |
download | volse-hubzilla-fa4ab45692e5deaee3a51408a43c00a834f99903.tar.gz volse-hubzilla-fa4ab45692e5deaee3a51408a43c00a834f99903.tar.bz2 volse-hubzilla-fa4ab45692e5deaee3a51408a43c00a834f99903.zip |
native repeats continued
Diffstat (limited to 'Zotlabs/Module/Like.php')
-rw-r--r-- | Zotlabs/Module/Like.php | 4 |
1 files changed, 3 insertions, 1 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) |