aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/conversation.php8
1 files changed, 3 insertions, 5 deletions
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;
}