From df32c93d562f0dfcc28ebf36723ef07dab630b90 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 27 May 2013 05:27:35 -0700 Subject: zidify img links, delay notifier until actually published for time travelling posts --- 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 c805ef4cd..159931124 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -208,6 +208,10 @@ function notifier_run($argv, $argc){ if($target_item['item_restrict'] & ITEM_DELETED) logger('notifier: target item ITEM_DELETED', LOGGER_DEBUG); + if($target_item['item_restrict'] & ITEM_DELAYED_PUBLISH) { + logger('notifier: target item ITEM_DELAYED_PUBLISH', LOGGER_DEBUG); + return; + } $s = q("select * from channel where channel_id = %d limit 1", intval($target_item['uid']) -- cgit v1.2.3