mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:50:10 +00:00
Replace confusing uses of item.parent-uri with expected item.thr-parent
This commit is contained in:
parent
0c3a5c815e
commit
0f2a5daf09
7 changed files with 74 additions and 81 deletions
|
@ -622,8 +622,8 @@ class OnePoll
|
|||
}
|
||||
}
|
||||
|
||||
if (empty($datarray['parent-uri'])) {
|
||||
$datarray['parent-uri'] = $datarray['uri'];
|
||||
if (!empty($datarray['parent-uri'])) {
|
||||
$datarray['thr-parent'] = $datarray['parent-uri'];
|
||||
}
|
||||
unset($datarray['parent-uri']);
|
||||
|
||||
|
@ -664,7 +664,7 @@ class OnePoll
|
|||
$datarray['owner-link'] = "mailto:".$contact['addr'];
|
||||
$datarray['owner-avatar'] = $contact['photo'];
|
||||
|
||||
if ($datarray['parent-uri'] === $datarray['uri']) {
|
||||
if ($datarray['thr-parent'] === $datarray['uri']) {
|
||||
$datarray['private'] = Item::PRIVATE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue