From b926a4c67e4d7dcba01df91dddcc047abde246bb Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 18 Oct 2016 21:42:54 -0700 Subject: when translating like activities, we're distinguishing comments from posts by mid and parent_mid; neither if which are present in the stored activity object --- include/conversation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/conversation.php b/include/conversation.php index 7239e603b..bc8f8ce8b 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -146,7 +146,7 @@ function localize_item(&$item){ case ACTIVITY_OBJ_NOTE: default: $post_type = t('status'); - if($obj['mid'] != $obj['parent_mid']) + if($obj['id'] != $obj['parent']) $post_type = t('comment'); break; } -- cgit v1.2.3