mirror of
https://github.com/friendica/friendica
synced 2024-12-23 09:20:17 +00:00
commit
e6fd636b7d
1 changed files with 1 additions and 1 deletions
|
@ -659,7 +659,7 @@ class OnePoll
|
||||||
$datarray['owner-link'] = "mailto:".$contact['addr'];
|
$datarray['owner-link'] = "mailto:".$contact['addr'];
|
||||||
$datarray['owner-avatar'] = $contact['photo'];
|
$datarray['owner-avatar'] = $contact['photo'];
|
||||||
|
|
||||||
if ($datarray['thr-parent'] === $datarray['uri']) {
|
if (empty($datarray['thr-parent']) || ($datarray['thr-parent'] === $datarray['uri'])) {
|
||||||
$datarray['private'] = Item::PRIVATE;
|
$datarray['private'] = Item::PRIVATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue