Store the push/pull direction in the conversation table
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user