mirror of
https://github.com/friendica/friendica
synced 2025-04-26 12:30:11 +00:00
Add a payload
This commit is contained in:
parent
41545e8808
commit
c85ce2f6b0
2 changed files with 26 additions and 6 deletions
|
@ -155,7 +155,7 @@ class Subscription
|
|||
$subscriptions = DBA::select('subscription', [], ['uid' => $notification['uid'], $type => true]);
|
||||
while ($subscription = DBA::fetch($subscriptions)) {
|
||||
Logger::info('Push notification', ['id' => $subscription['id'], 'uid' => $subscription['uid'], 'type' => $type]);
|
||||
Worker::add(PRIORITY_HIGH, 'PushSubscription', $subscription['id']);
|
||||
Worker::add(PRIORITY_HIGH, 'PushSubscription', $subscription['id'], $nid);
|
||||
}
|
||||
DBA::close($subscriptions);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue