diff options
author | Mario Vavti <mario@mariovavti.com> | 2020-05-15 19:28:03 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2020-05-15 19:28:03 +0200 |
commit | 13319985fda0a67e1fb67cf521f6a3ea3b0aebac (patch) | |
tree | 0116e80f9aa25ba8b8cef00e238c8e4f155bd884 /Zotlabs | |
parent | e3aaa39f9eb62a292c81956b92cb71a47ffc075c (diff) | |
download | volse-hubzilla-13319985fda0a67e1fb67cf521f6a3ea3b0aebac.tar.gz volse-hubzilla-13319985fda0a67e1fb67cf521f6a3ea3b0aebac.tar.bz2 volse-hubzilla-13319985fda0a67e1fb67cf521f6a3ea3b0aebac.zip |
uuid for likes
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 4b7ed30f3..014ff8949 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -708,6 +708,8 @@ class Activity { $ret['id'] = ((strpos($i['mid'],'http') === 0) ? $i['mid'] : z_root() . '/activity/' . urlencode($i['mid'])); } + $ret['diaspora:guid'] = $i['uuid']; + if($i['title']) $ret['name'] = html2plain(bbcode($i['title'], [ 'cache' => true ])); @@ -1984,6 +1986,7 @@ class Activity { $s['mid'] = $act->id; $s['parent_mid'] = $act->obj['id']; + $s['uuid'] = $act->{'diaspora:guid'}; // over-ride the object timestamp with the activity |