mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:10:11 +00:00
Store the push/pull direction in the conversation table
This commit is contained in:
parent
6f0d40c6c0
commit
af6db65961
5 changed files with 27 additions and 11 deletions
|
@ -490,12 +490,7 @@ class Processor
|
|||
}
|
||||
|
||||
if (isset($activity['push'])) {
|
||||
$push_app = $activity['push'] ? '📨' : '🚜';
|
||||
if (!empty($item['app'])) {
|
||||
$item['app'] .= ' (' . $push_app . ')';
|
||||
} else {
|
||||
$item['app'] .= $push_app;
|
||||
}
|
||||
$item['direction'] = $activity['push'] ? Conversation::PUSH : Conversation::PULL;
|
||||
}
|
||||
|
||||
$item['plink'] = $activity['alternate-url'] ?? $item['uri'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue