aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2020-05-15 19:28:03 +0200
committerMario Vavti <mario@mariovavti.com>2020-05-15 19:28:03 +0200
commit13319985fda0a67e1fb67cf521f6a3ea3b0aebac (patch)
tree0116e80f9aa25ba8b8cef00e238c8e4f155bd884
parente3aaa39f9eb62a292c81956b92cb71a47ffc075c (diff)
downloadvolse-hubzilla-13319985fda0a67e1fb67cf521f6a3ea3b0aebac.tar.gz
volse-hubzilla-13319985fda0a67e1fb67cf521f6a3ea3b0aebac.tar.bz2
volse-hubzilla-13319985fda0a67e1fb67cf521f6a3ea3b0aebac.zip
uuid for likes
-rw-r--r--Zotlabs/Lib/Activity.php3
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