Additional direction for fetching content

This commit is contained in:
Michael 2020-09-21 15:17:33 +00:00
parent c082109ff9
commit 11d2b027ec
4 changed files with 21 additions and 12 deletions

View file

@ -767,7 +767,10 @@ function conversation_fetch_comments($thread_items, $pinned) {
case Item::PT_RELAY:
$row['direction'] = ['direction' => 10, 'title' => DI::l10n()->t('Relay')];
break;
}
case Item::PT_FETCHED:
$row['direction'] = ['direction' => 2, 'title' => DI::l10n()->t('Fetched')];
break;
}
if (($row['gravity'] == GRAVITY_PARENT) && !$row['origin'] && ($row['author-id'] == $row['owner-id']) &&
!Contact::isSharing($row['author-id'], $row['uid'])) {