send DM replies to thread parent

This commit is contained in:
Mike Macgirvin 2024-05-31 13:35:54 +10:00
parent 13cbd59a14
commit ed837de2fc

View file

@ -437,7 +437,7 @@ class Notifier implements DaemonInterface
if (($relay_to_owner || $uplink) && ($cmd !== 'relay')) {
if (! $audience) {
if ((int)$parent_item['item_private'] === 2) {
if ((int)$thread_parent['item_private'] === 2) {
$audience = AUDIENCE_SENDER;
} elseif ($isContained) {
$audience = AUDIENCE_CONVERSATION;