Merge pull request #9126 from MrPetovan/task/post-improvements

Various post display improvements
This commit is contained in:
Michael Vogel 2020-09-03 22:17:25 +02:00 committed by GitHub
commit abe6ecf820
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 5854 additions and 5848 deletions

View file

@ -733,7 +733,7 @@ function conversation_fetch_comments($thread_items, $pinned) {
if (!empty($parentlines) && empty($direction) && ($row['gravity'] == GRAVITY_COMMENT)
&& Contact::isSharing($row['author-id'], $row['uid'])) {
$direction = ['direction' => 2, 'title' => DI::l10n()->t('%s commented this.', $row['author-name'])];
$direction = ['direction' => 5, 'title' => DI::l10n()->t('%s commented on this.', $row['author-name'])];
}
if (($row['gravity'] == GRAVITY_PARENT) && !$row['origin'] && ($row['author-id'] == $row['owner-id'])