event ownership issues
This commit is contained in:
parent
21058cdb47
commit
c0749f18d6
2 changed files with 3 additions and 3 deletions
|
@ -347,7 +347,7 @@ function conversation(&$a, $items, $mode, $update) {
|
||||||
|
|
||||||
if(($toplevelpost) && (! $item['self']) && ($mode !== 'profile')) {
|
if(($toplevelpost) && (! $item['self']) && ($mode !== 'profile')) {
|
||||||
|
|
||||||
if($item['type'] === 'wall') {
|
if($item['wall']) {
|
||||||
|
|
||||||
// On the network page, I am the owner. On the display page it will be the profile owner.
|
// On the network page, I am the owner. On the display page it will be the profile owner.
|
||||||
// This will have been stored in $a->page_contact by our calling page.
|
// This will have been stored in $a->page_contact by our calling page.
|
||||||
|
@ -359,7 +359,7 @@ function conversation(&$a, $items, $mode, $update) {
|
||||||
$template = $wallwall;
|
$template = $wallwall;
|
||||||
$commentww = 'ww';
|
$commentww = 'ww';
|
||||||
}
|
}
|
||||||
if(($item['type'] === 'remote') && (strlen($item['owner-link'])) && ($item['owner-link'] != $item['author-link'])) {
|
if((! $item['wall']) && (strlen($item['owner-link'])) && ($item['owner-link'] != $item['author-link'])) {
|
||||||
|
|
||||||
// Could be anybody.
|
// Could be anybody.
|
||||||
|
|
||||||
|
|
|
@ -145,7 +145,7 @@ function notifier_run($argv, $argc){
|
||||||
|
|
||||||
$parent = $items[0];
|
$parent = $items[0];
|
||||||
|
|
||||||
if($parent['type'] === 'remote' && (! $expire)) {
|
if($parent['wall'] != 0 && (! $expire)) {
|
||||||
// local followup to remote post
|
// local followup to remote post
|
||||||
$followup = true;
|
$followup = true;
|
||||||
$notify_hub = false; // not public
|
$notify_hub = false; // not public
|
||||||
|
|
Loading…
Reference in a new issue