aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-08-01 22:12:44 -0700
committerredmatrix <git@macgirvin.com>2016-08-01 22:12:44 -0700
commit69354e808f35b57e169fa662b75498a97dd1dfee (patch)
treee9b9ab6e5b9b04a5a667f1ae0363b5f11d140f52 /Zotlabs/Module
parent3a7d3e3a542ef9297a8a20e3548f01f43fb37f0e (diff)
downloadvolse-hubzilla-69354e808f35b57e169fa662b75498a97dd1dfee.tar.gz
volse-hubzilla-69354e808f35b57e169fa662b75498a97dd1dfee.tar.bz2
volse-hubzilla-69354e808f35b57e169fa662b75498a97dd1dfee.zip
this should sort out likes showing up as wall-to-wall posts on diaspora
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Like.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index 170349509..dd0bc99d4 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -495,6 +495,8 @@ class Like extends \Zotlabs\Web\Controller {
$arr['deny_gid'] = $deny_gid;
$arr['item_private'] = $private;
+ call_hooks('post_local',$arr);
+
$post = item_store($arr);
$post_id = $post['item_id'];