This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
friendica
/
friendica
mirror of
https://github.com/friendica/friendica.git
Watch
1
Star
2
Fork
1
Code
Issues
Releases
49
Wiki
Activity
Browse Source
keep private emails out of any offsite feeds
pull/1/head
Friendika
9 years ago
parent
684ebd2ed8
commit
ac4ce27e88
2 changed files
with
8 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
include/items.php
+5
-0
include/notifier.php
+ 3
- 0
include/items.php
View File
@ -153,6 +153,9 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0)
if
(
$dfrn_id
===
''
)
{
$type
=
'html'
;
// catch any email that's in a public conversation and make sure it doesn't leak
if
(
$item
[
'private'
])
continue
;
}
else
{
$type
=
'text'
;
+ 5
- 0
include/notifier.php
View File
@ -289,6 +289,11 @@ function notifier_run($argv, $argc){
if
(
!
$item
[
'parent'
])
continue
;
// private emails may be in included in public conversations. Filter them.
if
((
$notify_hub
)
&&
$item
[
'private'
])
continue
;
$contact
=
get_item_contact
(
$item
,
$contacts
);
if
(
!
$contact
)
continue
;
Write
Preview
Loading…
Cancel
Save