aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-27 05:27:35 -0700
committerfriendica <info@friendica.com>2013-05-27 05:27:35 -0700
commitdf32c93d562f0dfcc28ebf36723ef07dab630b90 (patch)
tree9ccbff9a691d896409c23024502b3a11e3e1db9c /include/notifier.php
parent5c1f959c1828066358ec868ffb953e88f16195c6 (diff)
downloadvolse-hubzilla-df32c93d562f0dfcc28ebf36723ef07dab630b90.tar.gz
volse-hubzilla-df32c93d562f0dfcc28ebf36723ef07dab630b90.tar.bz2
volse-hubzilla-df32c93d562f0dfcc28ebf36723ef07dab630b90.zip
zidify img links, delay notifier until actually published for time travelling posts
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php4
1 files changed, 4 insertions, 0 deletions
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'])