diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-18 21:42:54 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-18 21:42:54 -0700 |
commit | b926a4c67e4d7dcba01df91dddcc047abde246bb (patch) | |
tree | a31acc7a972c9864a216f97c2f6d22fbcea57785 | |
parent | 29320f8aad098d574faf151fb3653cd0ef7abdd0 (diff) | |
download | volse-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.php | 2 |
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; } |