X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FObject%2FPost.php;h=8d7ff128dc3911c172b7e3f7e80b0661f784795e;hb=c7f1c30f89100732b966d40a9767912febdfe432;hp=9240079fb76f9861c047f31f1a346c3905b1bbd7;hpb=622cdeaad6b4d5dd5108cbb29648eeae0cd4be29;p=friendica.git diff --git a/src/Object/Post.php b/src/Object/Post.php index 9240079fb7..8d7ff128dc 100644 --- a/src/Object/Post.php +++ b/src/Object/Post.php @@ -499,10 +499,13 @@ class Post $parent_guid = $thread_parent[$item['thr-parent-id']]['guid'] ?? ''; $parent_username = $thread_parent[$item['thr-parent-id']]['name'] ?? ''; + $parent_unknown = $parent_username ? '' : DI::l10n()->t('Unknown parent'); $tmp_item = [ 'parentguid' => $parent_guid, - 'isreplyto' => DI::l10n()->t('is reply to %s', $parent_username), + 'inreplyto' => DI::l10n()->t('in reply to %s', $parent_username), + 'isunknown' => $parent_unknown, + 'isunknown_label' => DI::l10n()->t('Parent is probably private or not federated.'), 'template' => $this->getTemplate(), 'type' => implode('', array_slice(explode('/', $item['verb']), -1)), 'comment_firstcollapsed' => false,