aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-18 21:42:54 -0700
committerzotlabs <mike@macgirvin.com>2016-10-18 21:42:54 -0700
commitb926a4c67e4d7dcba01df91dddcc047abde246bb (patch)
treea31acc7a972c9864a216f97c2f6d22fbcea57785
parent29320f8aad098d574faf151fb3653cd0ef7abdd0 (diff)
downloadvolse-hubzilla-b926a4c67e4d7dcba01df91dddcc047abde246bb.tar.gz
volse-hubzilla-b926a4c67e4d7dcba01df91dddcc047abde246bb.tar.bz2
volse-hubzilla-b926a4c67e4d7dcba01df91dddcc047abde246bb.zip
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
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
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;
}