aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-20 18:14:19 -0700
committerFriendika <info@friendika.com>2011-08-20 18:14:19 -0700
commitc6f0d997e6d1ef832edfc656462aee38b404f75b (patch)
treeb40341978c9f40828938dad52ce3aada01bfb59d /include
parentc6cab2cfa855da8589f2a6714b0231085df710e5 (diff)
downloadvolse-hubzilla-c6f0d997e6d1ef832edfc656462aee38b404f75b.tar.gz
volse-hubzilla-c6f0d997e6d1ef832edfc656462aee38b404f75b.tar.bz2
volse-hubzilla-c6f0d997e6d1ef832edfc656462aee38b404f75b.zip
set author/owner on likes
Diffstat (limited to 'include')
-rw-r--r--include/diaspora.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 08dcee138..d75a91b6d 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -722,6 +722,7 @@ EOT;
$arr['uri'] = $uri;
$arr['uid'] = $importer['uid'];
+ $arr['guid'] = $guid;
$arr['contact-id'] = $contact['id'];
$arr['type'] = 'activity';
$arr['wall'] = $parent_item['wall'];
@@ -729,13 +730,13 @@ EOT;
$arr['parent'] = $parent_item['id'];
$arr['parent-uri'] = $parent_item['uri'];
- $datarray['owner-name'] = $contact['name'];
- $datarray['owner-link'] = $contact['url'];
- $datarray['owner-avatar'] = $contact['thumb'];
+ $arr['owner-name'] = $contact['name'];
+ $arr['owner-link'] = $contact['url'];
+ $arr['owner-avatar'] = $contact['thumb'];
- $datarray['author-name'] = $person['name'];
- $datarray['author-link'] = $person['url'];
- $datarray['author-avatar'] = ((x($person,'thumb')) ? $person['thumb'] : $person['photo']);
+ $arr['author-name'] = $person['name'];
+ $arr['author-link'] = $person['url'];
+ $arr['author-avatar'] = ((x($person,'thumb')) ? $person['thumb'] : $person['photo']);
$ulink = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]';
$alink = '[url=' . $parent_item['author-link'] . ']' . $parent_item['author-name'] . '[/url]';