mirror of
https://github.com/friendica/friendica
synced 2024-11-19 15:43:41 +00:00
Merge pull request #6885 from annando/issue-6167
Issue 6167: Don't distribute uploaded pictures
This commit is contained in:
commit
542e363a49
1 changed files with 5 additions and 0 deletions
|
@ -99,6 +99,11 @@ class Notifier
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Issue 6167: We don't distribute image uploads
|
||||||
|
if ($target_item['post-type'] == Item::PT_IMAGE) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($target_item['contact-uid'])) {
|
if (!empty($target_item['contact-uid'])) {
|
||||||
$uid = $target_item['contact-uid'];
|
$uid = $target_item['contact-uid'];
|
||||||
} elseif (!empty($target_item['uid'])) {
|
} elseif (!empty($target_item['uid'])) {
|
||||||
|
|
Loading…
Reference in a new issue