mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Conversation/context is now stored
This commit is contained in:
parent
54cebf5a88
commit
7eb410bed7
11 changed files with 161 additions and 84 deletions
|
@ -140,6 +140,14 @@ class Queue
|
|||
$activity['entry-id'] = $entry['id'];
|
||||
$activity['worker-id'] = $entry['wid'];
|
||||
|
||||
$receivers = DBA::select('inbox-entry-receiver', ['uid'], ['queue-id' => $entry['id']]);
|
||||
while ($receiver = DBA::fetch($receivers)) {
|
||||
if (!in_array($receiver['uid'], $activity['receiver'])) {
|
||||
$activity['receiver'][] = $receiver['uid'];
|
||||
}
|
||||
}
|
||||
DBA::close($receivers);
|
||||
|
||||
if (!Receiver::routeActivities($activity, $type, $push)) {
|
||||
self::remove($activity);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue