mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Fix delivery counter for poking / unify delivery commands
This commit is contained in:
parent
f5606fb211
commit
41dc243186
16 changed files with 38 additions and 73 deletions
|
@ -13,6 +13,7 @@ use Friendica\Model\Item;
|
|||
use Friendica\Database\DBA;
|
||||
use Friendica\Network\Probe;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Worker\Delivery;
|
||||
|
||||
/**
|
||||
* Class to handle private messages
|
||||
|
@ -218,7 +219,7 @@ class Mail
|
|||
}
|
||||
|
||||
if ($post_id) {
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", "mail", $post_id);
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", Delivery::MAIL, $post_id);
|
||||
return intval($post_id);
|
||||
} else {
|
||||
return -3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue