From a09829a1ee62ec33904348979c5d5fbc6eb1bd6c Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 8 Sep 2013 21:05:39 -0700 Subject: perform a refresh_all when an import has completed so that all your connections get a fresh update. --- include/notifier.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/notifier.php') diff --git a/include/notifier.php b/include/notifier.php index 5dcd7b58c..e813f7951 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -208,9 +208,8 @@ function notifier_run($argv, $argc){ $channel = $s[0]; $uid = $item_id; $recipients = array(); - $r = q("select * from abook where abook_channel = %d and not (abook_flags & %d)", - intval($item_id), - intval(ABOOK_FLAG_SELF) + $r = q("select abook_xchan from abook where abook_channel = %d", + intval($item_id) ); if($r) { foreach($r as $rr) { -- cgit v1.2.3 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