aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-10 21:06:35 -0700
committerFriendika <info@friendika.com>2011-08-10 21:06:35 -0700
commit684ebd2ed8a2b225860b59256bf81146b1867d6a (patch)
tree5730a0213ccfd7bb19806d22222a955ff1d650ec /include/poller.php
parent06408664db04cd1cac255d21e7bab54e6ba0c047 (diff)
downloadvolse-hubzilla-684ebd2ed8a2b225860b59256bf81146b1867d6a.tar.gz
volse-hubzilla-684ebd2ed8a2b225860b59256bf81146b1867d6a.tar.bz2
volse-hubzilla-684ebd2ed8a2b225860b59256bf81146b1867d6a.zip
enhance random_string, block public email replies
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/poller.php b/include/poller.php
index 611dd20bf..6ac99fc7d 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -421,6 +421,8 @@ 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'))
+ $datarray['private'] = 1;
$datarray['author-name'] = $contact['name'];
$datarray['author-link'] = 'mailbox';
$datarray['author-avatar'] = $contact['photo'];