aboutsummaryrefslogtreecommitdiffstats
path: root/include/enotify.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-14 08:32:37 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-14 08:32:37 +0100
commit6bdde985ce76fe768046cbb0d368c382925b027d (patch)
tree133bcec2650f68ba3be894cbf55596696ee8b2e9 /include/enotify.php
parent9d6a4c1d0530f727aa41c940f826a2d621babe0b (diff)
parentdba38821bc5f3ad9b3a8f4f614d651e98f0b5ec5 (diff)
downloadvolse-hubzilla-6bdde985ce76fe768046cbb0d368c382925b027d.tar.gz
volse-hubzilla-6bdde985ce76fe768046cbb0d368c382925b027d.tar.bz2
volse-hubzilla-6bdde985ce76fe768046cbb0d368c382925b027d.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/enotify.php')
-rw-r--r--include/enotify.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/enotify.php b/include/enotify.php
index bbddcdd14..c9b6e0463 100644
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -152,6 +152,8 @@ function notification($params) {
// $private = $p[0]['item_private'];
$parent_id = $p[0]['id'];
+ $parent_item = $p[0];
+
//$possess_desc = str_replace('<!item_type!>',$possess_desc);
// "a post"
@@ -358,6 +360,7 @@ function notification($params) {
$datarray['uid'] = $recip['channel_id'];
$datarray['link'] = $itemlink;
$datarray['parent'] = $parent_mid;
+ $datarray['parent_item'] = $parent_item;
$datarray['type'] = $params['type'];
$datarray['verb'] = $params['verb'];
$datarray['otype'] = $params['otype'];