mirror of
https://github.com/friendica/friendica
synced 2025-04-22 13:50:12 +00:00
in "getidforurl" "no update" is now "update"
This commit is contained in:
parent
631095eefd
commit
b0086a49e2
14 changed files with 66 additions and 60 deletions
|
@ -245,14 +245,14 @@ class PostUpdate
|
|||
$default = ['url' => $item['author-link'], 'name' => $item['author-name'],
|
||||
'photo' => $item['author-avatar'], 'network' => $item['network']];
|
||||
|
||||
$item['author-id'] = Contact::getIdForURL($item["author-link"], 0, false, $default);
|
||||
$item['author-id'] = Contact::getIdForURL($item["author-link"], 0, null, $default);
|
||||
}
|
||||
|
||||
if (empty($item['owner-id'])) {
|
||||
$default = ['url' => $item['owner-link'], 'name' => $item['owner-name'],
|
||||
'photo' => $item['owner-avatar'], 'network' => $item['network']];
|
||||
|
||||
$item['owner-id'] = Contact::getIdForURL($item["owner-link"], 0, false, $default);
|
||||
$item['owner-id'] = Contact::getIdForURL($item["owner-link"], 0, null, $default);
|
||||
}
|
||||
|
||||
if (empty($item['psid'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue