aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-02-13 11:01:58 +0100
committerMario Vavti <mario@mariovavti.com>2018-02-13 11:01:58 +0100
commitd826515ba8d2d1d78abed6701df3c2c3550e87df (patch)
tree249ceef23c1967e598485665723503b987296526 /include/items.php
parentb221c68e4b4da59ec9405a1c1bac87ceba7eb2ca (diff)
downloadvolse-hubzilla-d826515ba8d2d1d78abed6701df3c2c3550e87df.tar.gz
volse-hubzilla-d826515ba8d2d1d78abed6701df3c2c3550e87df.tar.bz2
volse-hubzilla-d826515ba8d2d1d78abed6701df3c2c3550e87df.zip
since we only save the parent mid in notify we must look for thr_parent when dealing with likes
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 6fe9a6041..04962ec76 100755
--- a/include/items.php
+++ b/include/items.php
@@ -2402,7 +2402,7 @@ function send_status_notifications($post_id,$item) {
'to_xchan' => $r[0]['channel_hash'],
'item' => $item,
'link' => $link,
- 'verb' => ACTIVITY_POST,
+ 'verb' => $item['verb'],
'otype' => 'item',
'parent' => $thr_parent_id ? $thr_parent_id : $parent,
'parent_mid' => $thr_parent_id ? $item['thr_parent'] : $item['parent_mid']