Support for message delivering via uri-id
This commit is contained in:
parent
07c07ec499
commit
6e1483545e
10 changed files with 95 additions and 56 deletions
|
|
@ -216,10 +216,10 @@ function events_post(App $a)
|
|||
exit();
|
||||
}
|
||||
|
||||
$item_id = Event::store($datarray);
|
||||
$uri_id = Event::store($datarray);
|
||||
|
||||
if (!$cid) {
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", Delivery::POST, $item_id);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", Delivery::POST, (int)$uri_id, (int)$uid);
|
||||
}
|
||||
|
||||
DI::baseUrl()->redirect('events');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue