mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:50:11 +00:00
Push/Pull indicator
This commit is contained in:
parent
357c0072bd
commit
acd99b9010
2 changed files with 16 additions and 4 deletions
|
@ -474,6 +474,15 @@ class Processor
|
|||
return;
|
||||
}
|
||||
|
||||
if (isset($activity['push'])) {
|
||||
$push_app = $activity['push'] ? '📨' : '🚜';
|
||||
if (!empty($item['app'])) {
|
||||
$item['app'] .= ' (' . $push_app . ')';
|
||||
} else {
|
||||
$item['app'] .= $push_app;
|
||||
}
|
||||
}
|
||||
|
||||
$item['plink'] = $activity['alternate-url'] ?? $item['uri'];
|
||||
|
||||
$item = self::constructAttachList($activity, $item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue