diff options
author | friendica <info@friendica.com> | 2014-04-17 20:03:28 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-04-17 20:03:28 -0700 |
commit | 30e2e32f191b0fa9132792e520f02af8c4a6f475 (patch) | |
tree | 90ed3c0a489c73017ae885c127238cfa764c3030 /mod/zotfeed.php | |
parent | 083cf12d48760a553c2ea857bb88c1d2f3902818 (diff) | |
download | volse-hubzilla-30e2e32f191b0fa9132792e520f02af8c4a6f475.tar.gz volse-hubzilla-30e2e32f191b0fa9132792e520f02af8c4a6f475.tar.bz2 volse-hubzilla-30e2e32f191b0fa9132792e520f02af8c4a6f475.zip |
improve zotfeed for discover channel so it will send updates to posts you've already received. Incidentally I discovered why we had the meltdown replying to discover channel items the other day - but can't fix it easily.
Diffstat (limited to 'mod/zotfeed.php')
-rw-r--r-- | mod/zotfeed.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/zotfeed.php b/mod/zotfeed.php index 1f5dc2cfa..480e886cd 100644 --- a/mod/zotfeed.php +++ b/mod/zotfeed.php @@ -21,8 +21,9 @@ function zotfeed_init(&$a) { $channel_address = ((argc() > 1) ? argv(1) : ''); if($channel_address) { - $r = q("select channel_id, channel_name from channel where channel_address = '%s' limit 1", - dbesc(argv(1)) + $r = q("select channel_id, channel_name from channel where channel_address = '%s' and not (channel_pageflags & %d) limit 1", + dbesc(argv(1)), + intval(PAGE_REMOVED) ); } else { |