aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-01-17 18:28:13 -0800
committerzotlabs <mike@macgirvin.com>2018-01-17 18:28:13 -0800
commit561372e203ccb36dfa94d1629d918d42648dff71 (patch)
tree2e8950b0f60b7232d0a6e8673ee77800e4476f1d
parent66f48847c9ba1c67dbabda21cd00c2ac21cad3f4 (diff)
downloadvolse-hubzilla-561372e203ccb36dfa94d1629d918d42648dff71.tar.gz
volse-hubzilla-561372e203ccb36dfa94d1629d918d42648dff71.tar.bz2
volse-hubzilla-561372e203ccb36dfa94d1629d918d42648dff71.zip
use mid/parent_mid to trigger $top_level_post
-rw-r--r--Zotlabs/Daemon/Notifier.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php
index ca6a7c08a..cb1eb7b79 100644
--- a/Zotlabs/Daemon/Notifier.php
+++ b/Zotlabs/Daemon/Notifier.php
@@ -315,7 +315,7 @@ class Notifier {
}
- if($target_item['id'] == $target_item['parent']) {
+ if($target_item['mid'] === $target_item['parent_mid']) {
$parent_item = $target_item;
$top_level_post = true;
}