localize_item() thinks all likes on posts are likes on comments because we didn't pass any info in the activity object to distinguish them from each other.
This commit is contained in:
@@ -137,7 +137,7 @@ function localize_item(&$item){
|
||||
case ACTIVITY_OBJ_NOTE:
|
||||
default:
|
||||
$post_type = t('status');
|
||||
if($obj['id'] != $item['mid'])
|
||||
if($obj['mid'] != $obj['parent_mid'])
|
||||
$post_type = t('comment');
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user