Update include/conversation.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
d64c910f69
commit
5c3cc76acf
1 changed files with 4 additions and 3 deletions
|
@ -742,13 +742,14 @@ function conversation_fetch_comments($thread_items, $pinned) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($row['gravity'] == GRAVITY_PARENT) && !$row['origin'] && ($row['author-id'] == $row['owner-id'])) {
|
if (($row['gravity'] == GRAVITY_PARENT) && !$row['origin'] && ($row['author-id'] == $row['owner-id'])) {
|
||||||
if (!Contact::isSharing($row['author-id'], $row['uid'])) {
|
if (Contact::isSharing($row['author-id'], $row['uid'])) {
|
||||||
|
$row['direction'] = ['direction' => 6, 'title' => DI::l10n()->t('You are following %s.', $row['author-name'])];
|
||||||
|
} else {
|
||||||
if ($row['post-type'] == Item::PT_TAG) {
|
if ($row['post-type'] == Item::PT_TAG) {
|
||||||
$row['direction'] = ['direction' => 4, 'title' => DI::l10n()->t('Tagged')];
|
$row['direction'] = ['direction' => 4, 'title' => DI::l10n()->t('Tagged')];
|
||||||
}
|
}
|
||||||
$parentlines[] = $lineno;
|
$parentlines[] = $lineno;
|
||||||
} else {
|
|
||||||
$row['direction'] = ['direction' => 6, 'title' => DI::l10n()->t('You are following %s.', $row['author-name'])];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue