aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-28 01:50:28 -0700
committerfriendica <info@friendica.com>2013-05-28 01:50:28 -0700
commite81e11382f9c746c59fa11b3baef401f8c328cd4 (patch)
tree8192354fc9ccc2c8a1b5ab40c7ab686e14a9966f /include/conversation.php
parent7a011a99c7fd840df6e5a00f42573893586f8790 (diff)
downloadvolse-hubzilla-e81e11382f9c746c59fa11b3baef401f8c328cd4.tar.gz
volse-hubzilla-e81e11382f9c746c59fa11b3baef401f8c328cd4.tar.bz2
volse-hubzilla-e81e11382f9c746c59fa11b3baef401f8c328cd4.zip
cleanup localisation of like activities
Diffstat (limited to 'include/conversation.php')
-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;
}