1
0
Fork 0

enhance random_string, block public email replies

This commit is contained in:
Friendika 2011-08-10 21:06:35 -07:00
commit 684ebd2ed8
5 changed files with 16 additions and 6 deletions

View file

@ -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'];