mirror of
https://github.com/friendica/friendica
synced 2025-05-20 07:04:10 +02:00
Add additional direction types
This commit is contained in:
parent
cb647b5b6c
commit
5a41cd437d
8 changed files with 102 additions and 47 deletions
|
@ -1735,6 +1735,9 @@ class Diaspora
|
|||
$datarray["owner-link"] = $contact["url"];
|
||||
$datarray["owner-id"] = Contact::getIdForURL($contact["url"], 0);
|
||||
|
||||
// Will be overwritten for sharing accounts in Item::insert
|
||||
$datarray['post-type'] = Item::PT_COMMENT;
|
||||
|
||||
$datarray["guid"] = $guid;
|
||||
$datarray["uri"] = self::getUriFromGuid($author, $guid);
|
||||
$datarray['uri-id'] = ItemURI::insert(['uri' => $datarray['uri'], 'guid' => $datarray['guid']]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue