]> git.mxchange.org Git - friendica.git/commitdiff
event ownership from remote feeds messed up, this is one step - may require more
authorFriendika <info@friendika.com>
Tue, 12 Jul 2011 08:24:07 +0000 (01:24 -0700)
committerFriendika <info@friendika.com>
Tue, 12 Jul 2011 08:24:07 +0000 (01:24 -0700)
mod/item.php

index 8a4f8293c83a0162f4be6b4e765896de58d550e1..f6f665a189da2e56185e428a13be12a77d353936 100644 (file)
@@ -184,12 +184,10 @@ function item_post(&$a) {
 
        if($post_type === 'net-comment') {
                if($parent_item !== null) {
-                       if($parent_item['type'] === 'remote') {
-                               $post_type = 'remote-comment';
-                       } 
-                       else {          
+                       if($parent_item['wall'] == 1)
                                $post_type = 'wall-comment';
-                       }
+                       else
+                               $post_type = 'remote-comment';
                }
        }