diff options
author | Friendika <info@friendika.com> | 2011-04-26 05:45:53 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-26 05:45:53 -0700 |
commit | a01c40a845ae96d44ca58859cb2bc54ad6cd0b3d (patch) | |
tree | 9761b981716716c37ffc847ceb7576ba7c4de322 /mod/network.php | |
parent | 7bf85eadb2cabedf955046722d1ff45e0f160421 (diff) | |
download | volse-hubzilla-a01c40a845ae96d44ca58859cb2bc54ad6cd0b3d.tar.gz volse-hubzilla-a01c40a845ae96d44ca58859cb2bc54ad6cd0b3d.tar.bz2 volse-hubzilla-a01c40a845ae96d44ca58859cb2bc54ad6cd0b3d.zip |
no insecure warning on FB connections
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index f40d34353..ae991e6ee 100644 --- a/mod/network.php +++ b/mod/network.php @@ -149,7 +149,7 @@ function network_content(&$a, $update = 0) { if(count($r)) { $sql_extra = " AND `item`.`parent` IN ( SELECT `parent` FROM `item` WHERE `id` = `parent` AND `contact-id` IN ( " . intval($cid) . " )) "; $o = '<h2>' . t('Contact: ') . $r[0]['name'] . '</h2>' . $o; - if($r[0]['network'] !== NETWORK_MAIL && $r[0]['network'] !== NETWORK_DFRN && $r[0]['writable'] && (! get_pconfig(local_user(),'system','nowarn_insecure'))) { + if($r[0]['network'] !== NETWORK_MAIL && $r[0]['network'] !== NETWORK_DFRN && $r[0]['network'] !== NETWORK_FACEBOOK && $r[0]['writable'] && (! get_pconfig(local_user(),'system','nowarn_insecure'))) { notice( t('Private messages to this person are at risk of public disclosure.') . EOL); } |