diff options
author | friendica <info@friendica.com> | 2013-08-19 19:05:11 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-19 19:05:11 -0700 |
commit | b9314935e6f85bb0098c651d021ce9bdc2753ecb (patch) | |
tree | a9f179b3066799a9b37608cfc00555fcf37876ca /include | |
parent | 2e14dc242e552629cac5914e85096d423e6fd43c (diff) | |
download | volse-hubzilla-b9314935e6f85bb0098c651d021ce9bdc2753ecb.tar.gz volse-hubzilla-b9314935e6f85bb0098c651d021ce9bdc2753ecb.tar.bz2 volse-hubzilla-b9314935e6f85bb0098c651d021ce9bdc2753ecb.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 6d551a5c9..aade06b8a 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -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; } |