mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Ensure that pokes are always send only via DFRN
This commit is contained in:
parent
3b0fabcdb7
commit
44a49a8d7d
6 changed files with 23 additions and 11 deletions
|
@ -40,6 +40,7 @@ use Friendica\Util\DateTimeFormat;
|
|||
use Friendica\Util\Emailer;
|
||||
use Friendica\Util\Security;
|
||||
use Friendica\Util\Strings;
|
||||
use Friendica\Worker\Delivery;
|
||||
|
||||
require_once 'include/items.php';
|
||||
|
||||
|
@ -603,7 +604,7 @@ function item_post(App $a) {
|
|||
$origin = $_REQUEST['origin'];
|
||||
}
|
||||
|
||||
$notify_type = ($toplevel_item_id ? 'comment-new' : 'wall-new');
|
||||
$notify_type = ($toplevel_item_id ? Delivery::COMMENT : Delivery::POST);
|
||||
|
||||
$uri = ($message_id ? $message_id : Item::newURI($api_source ? $profile_uid : $uid, $guid));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue