mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Show if a post arrived via relay
This commit is contained in:
parent
b8f3c4b065
commit
c082109ff9
6 changed files with 23 additions and 8 deletions
|
@ -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']) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue