From e81e11382f9c746c59fa11b3baef401f8c328cd4 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 28 May 2013 01:50:28 -0700 Subject: cleanup localisation of like activities --- include/conversation.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/conversation.php b/include/conversation.php index 59624959f..6f463a39a 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -126,11 +126,9 @@ function localize_item(&$item){ break; case ACTIVITY_OBJ_NOTE: default: -// wrong item_flags, this won't work -// if(! ($item_flags & ITEM_THREAD_TOP)) -// $post_type = t('comment'); -// else - $post_type = t('status'); + $post_type = t('status'); + if($obj->id != $item['mid']) + $post_type = t('comment'); break; } -- cgit v1.2.3