mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
Display a symbol when a post had been reshared
This commit is contained in:
parent
b052896c64
commit
0e4d3fe9e5
3 changed files with 24 additions and 1 deletions
|
@ -409,7 +409,9 @@ class Post
|
|||
}
|
||||
|
||||
$direction = [];
|
||||
if (DI::config()->get('debug', 'show_direction')) {
|
||||
if (!empty($item['direction'])) {
|
||||
$direction = $item['direction'];
|
||||
} elseif (DI::config()->get('debug', 'show_direction')) {
|
||||
$conversation = DBA::selectFirst('conversation', ['direction'], ['item-uri' => $item['uri']]);
|
||||
if (!empty($conversation['direction']) && in_array($conversation['direction'], [1, 2])) {
|
||||
$title = [1 => DI::l10n()->t('Pushed'), 2 => DI::l10n()->t('Pulled')];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue