Improve "direction" icons on "vier", new direction "global"

This commit is contained in:
Michael 2020-09-14 10:43:16 +00:00
commit 23bac84973
3 changed files with 10 additions and 2 deletions

View file

@ -769,6 +769,10 @@ function conversation_fetch_comments($thread_items, $pinned) {
case Item::PT_STORED:
$row['direction'] = ['direction' => 8, 'title' => DI::l10n()->t('Stored')];
break;
default:
if ($row['uid'] == 0) {
$row['direction'] = ['direction' => 9, 'title' => DI::l10n()->t('Global')];
}
}
if (($row['gravity'] == GRAVITY_PARENT) && !$row['origin'] && ($row['author-id'] == $row['owner-id']) &&