mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:50:17 +00:00
Public forums are now posting unlisted
This commit is contained in:
parent
8a9f633ce2
commit
e2b8d5379b
4 changed files with 19 additions and 4 deletions
|
@ -283,6 +283,16 @@ class Notifier
|
|||
}
|
||||
|
||||
Logger::log('Notify ' . $target_item["guid"] .' via PuSH: ' . ($push_notify ? "Yes":"No"), Logger::DEBUG);
|
||||
} elseif ($targets = Tag::getByURIId($target_item['uri-id'], [Tag::EXCLUSIVE_MENTION])) {
|
||||
$followup = true;
|
||||
|
||||
foreach ($targets as $target) {
|
||||
$cid = Contact::getIdForURL($target['url'], $uid, false);
|
||||
if ($cid) {
|
||||
$recipients_followup[] = $cid;
|
||||
Logger::info('Exclusively delivering', ['guid' => $target_item['guid'], 'uri-id' => $target_item['uri-id'], 'url' => $target['url']]);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$followup = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue