event ownership from remote feeds messed up, this is one step - may require more

This commit is contained in:
Friendika 2011-07-12 01:24:07 -07:00
parent 180c15cdf8
commit 55bbe2108a
1 changed files with 3 additions and 5 deletions

View File

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