delivery invoked twice in mod_tagger, once in post_activity_item() and another at the main module level

This commit is contained in:
redmatrix
2016-07-01 20:46:57 -07:00
parent 5947467339
commit 41fa2d6c69
2 changed files with 6 additions and 14 deletions

View File

@@ -449,11 +449,7 @@ function post_activity_item($arr) {
call_hooks('post_local_end', $arr);
Zotlabs\Daemon\Master::Summon(array('Notifier','activity',$post_id));
$ret['success'] = true;
$r = q("select * from item where id = %d limit 1",
intval($post_id)
);
if($r)
$ret['activity'] = $r[0];
$ret['activity'] = $post['item'];
}
return $ret;