Show if a post arrived via relay
This commit is contained in:
@@ -764,10 +764,9 @@ function conversation_fetch_comments($thread_items, $pinned) {
|
||||
case Item::PT_GLOBAL:
|
||||
$row['direction'] = ['direction' => 9, 'title' => DI::l10n()->t('Global')];
|
||||
break;
|
||||
default:
|
||||
if ($row['uid'] == 0) {
|
||||
$row['direction'] = ['direction' => 9, 'title' => DI::l10n()->t('Global')];
|
||||
}
|
||||
case Item::PT_RELAY:
|
||||
$row['direction'] = ['direction' => 10, 'title' => DI::l10n()->t('Relay')];
|
||||
break;
|
||||
}
|
||||
|
||||
if (($row['gravity'] == GRAVITY_PARENT) && !$row['origin'] && ($row['author-id'] == $row['owner-id']) &&
|
||||
|
||||
Reference in New Issue
Block a user