diff options
author | Friendika <info@friendika.com> | 2011-08-11 01:52:31 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-11 01:52:31 -0700 |
commit | 04b59ac49ae20cadc20c06663451359b98de73f5 (patch) | |
tree | c36856f2f9b86e8270c1813deaa3c660d6dcd431 /include/poller.php | |
parent | 3f61f9f2c56a13170c03610665727b5ec17c841b (diff) | |
download | volse-hubzilla-04b59ac49ae20cadc20c06663451359b98de73f5.tar.gz volse-hubzilla-04b59ac49ae20cadc20c06663451359b98de73f5.tar.bz2 volse-hubzilla-04b59ac49ae20cadc20c06663451359b98de73f5.zip |
enhanced email privacy
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php index 6ac99fc7d..86bb8ad55 100644 --- a/include/poller.php +++ b/include/poller.php @@ -421,8 +421,10 @@ function poller_run($argv, $argc){ $datarray['contact-id'] = $contact['id']; if($datarray['parent-uri'] === $datarray['uri']) $datarray['private'] = 1; - if(! get_pconfig($importer_uid,'system','allow_public_email_replies')) + if(! get_pconfig($importer_uid,'system','allow_public_email_replies')) { $datarray['private'] = 1; + $datarray['allow_cid'] = '<' . $contact['id'] . '>'; + } $datarray['author-name'] = $contact['name']; $datarray['author-link'] = 'mailbox'; $datarray['author-avatar'] = $contact['photo']; |