From 83e086edcd4d13b2e8508eb17a24a849c8e3aa06 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 13 Sep 2013 04:51:55 -0700 Subject: doc update, put more telemetry on notifier and try to ensure that private posts have recipients. --- include/notifier.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/notifier.php') diff --git a/include/notifier.php b/include/notifier.php index e813f7951..e1f150bf2 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -372,6 +372,10 @@ function notifier_run($argv, $argc){ } } + if(($private) && (! $env_recips)) { + // shouldn't happen + logger('notifier: private message with no envelope recipients.' . print_r($argv,true)); + } logger('notifier: recipients (may be delivered to more if public): ' . print_r($recip_list,true), LOGGER_DEBUG); -- cgit v1.2.3