don't send wall-post notifications when creating webpages on another channel
This commit is contained in:
parent
6db6fef29f
commit
b1a77b2235
@ -919,7 +919,7 @@ function item_post(&$a) {
|
|||||||
else {
|
else {
|
||||||
$parent = $post_id;
|
$parent = $post_id;
|
||||||
|
|
||||||
if($datarray['owner_xchan'] != $datarray['author_xchan']) {
|
if(($datarray['owner_xchan'] != $datarray['author_xchan']) && ($datarray['item_type'] == ITEM_TYPE_POST)) {
|
||||||
notification(array(
|
notification(array(
|
||||||
'type' => NOTIFY_WALL,
|
'type' => NOTIFY_WALL,
|
||||||
'from_xchan' => $datarray['author_xchan'],
|
'from_xchan' => $datarray['author_xchan'],
|
||||||
|
Reference in New Issue
Block a user