mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
OStatus: Send even Friendica comments to OStatus
This commit is contained in:
parent
d944b65253
commit
bfc0857953
3 changed files with 124 additions and 49 deletions
|
@ -303,7 +303,8 @@ function notifier_run(&$argv, &$argc){
|
|||
$conversant_str = dbesc($parent['contact-id']);
|
||||
$recipients = array($parent['contact-id']);
|
||||
|
||||
if (!$target_item['private'] AND $target_item['wall'] AND
|
||||
//if (!$target_item['private'] AND $target_item['wall'] AND
|
||||
if (!$target_item['private'] AND
|
||||
(strlen($target_item['allow_cid'].$target_item['allow_gid'].
|
||||
$target_item['deny_cid'].$target_item['deny_gid']) == 0))
|
||||
$push_notify = true;
|
||||
|
@ -329,6 +330,7 @@ function notifier_run(&$argv, &$argc){
|
|||
if (count($url_recipients))
|
||||
logger("url_recipients ".print_r($url_recipients,true));
|
||||
}
|
||||
logger("Notify ".$target_item["guid"]." via PuSH: ".($push_notify?"Yes":"No"), LOGGER_DEBUG);
|
||||
} else {
|
||||
$followup = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue