]> git.mxchange.org Git - friendica.git/commitdiff
event ownership issues
authorFriendika <info@friendika.com>
Tue, 26 Jul 2011 01:41:48 +0000 (18:41 -0700)
committerFriendika <info@friendika.com>
Tue, 26 Jul 2011 01:41:48 +0000 (18:41 -0700)
include/conversation.php
include/notifier.php

index 82a107c07c28bac989a39ae301cab2a0ca6f9a53..50032cd36798e57f653e36e66c13b184b0ab8873 100644 (file)
@@ -347,7 +347,7 @@ function conversation(&$a, $items, $mode, $update) {
 
                        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.
                                        // 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;
                                        $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. 
 
index 59e57376222287dc041d24aadb5be14ad42d81ab..77a37b5eac6cc6822c8710d7f48b51e9346e09cd 100644 (file)
@@ -145,7 +145,7 @@ function notifier_run($argv, $argc){
 
                $parent = $items[0];
 
-               if($parent['type'] === 'remote' && (! $expire)) {
+               if($parent['wall'] != 0 && (! $expire)) {
                        // local followup to remote post
                        $followup = true;
                        $notify_hub = false; // not public