diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-15 04:58:13 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-15 04:58:13 -0700 |
commit | 6d646e9df5ccd5c0b5a70f15e242b0c50a0b877b (patch) | |
tree | e1a5eb08dd9e9598f812039e9ea3074916673ea4 /mod | |
parent | a1d37b6cc42c7f50007fdf081c3b0def5daa4395 (diff) | |
download | volse-hubzilla-6d646e9df5ccd5c0b5a70f15e242b0c50a0b877b.tar.gz volse-hubzilla-6d646e9df5ccd5c0b5a70f15e242b0c50a0b877b.tar.bz2 volse-hubzilla-6d646e9df5ccd5c0b5a70f15e242b0c50a0b877b.zip |
don't allow ignored contacts to post through the hub, change default poll
for hub subscribers to once a day now that we can utilise multiple hubs.
Diffstat (limited to 'mod')
-rw-r--r-- | mod/pubsub.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pubsub.php b/mod/pubsub.php index b0157fbc3..b47b2eedf 100644 --- a/mod/pubsub.php +++ b/mod/pubsub.php @@ -104,7 +104,7 @@ function pubsub_post(&$a) { $importer = $r[0]; - $r = q("SELECT * FROM `contact` WHERE `subhub` = 1 AND `id` = %d AND `uid` = %d AND `blocked` = 0 LIMIT 1", + $r = q("SELECT * FROM `contact` WHERE `subhub` = 1 AND `id` = %d AND `uid` = %d AND `blocked` = 0 AND `readonly` = 0 LIMIT 1", intval($contact_id), intval($importer['uid']) ); |