diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-25 14:59:46 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-25 14:59:46 -0800 |
commit | b1a77b2235e534f2b01c8b1bb9566a2e5085d43f (patch) | |
tree | 73b3f5d8e50021ad961b74a91358f6baaf2c28d3 | |
parent | 6db6fef29fbeb6ac02a02f6de3f5ec54caecc845 (diff) | |
download | volse-hubzilla-b1a77b2235e534f2b01c8b1bb9566a2e5085d43f.tar.gz volse-hubzilla-b1a77b2235e534f2b01c8b1bb9566a2e5085d43f.tar.bz2 volse-hubzilla-b1a77b2235e534f2b01c8b1bb9566a2e5085d43f.zip |
don't send wall-post notifications when creating webpages on another channel
-rw-r--r-- | mod/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php index bda33f4b3..eecc3a9ac 100644 --- a/mod/item.php +++ b/mod/item.php @@ -919,7 +919,7 @@ function item_post(&$a) { else { $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( 'type' => NOTIFY_WALL, 'from_xchan' => $datarray['author_xchan'], |