diff options
author | Mario <mario@mariovavti.com> | 2020-05-15 15:08:57 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-05-15 15:08:57 +0000 |
commit | b6efb02ed291fcdfb32e8587a031950d752327bc (patch) | |
tree | 53214f0077fa47561153b0f31443348798fd37b3 | |
parent | c358d8326e48ceaa7c36c794a59b2a4a2256fd9a (diff) | |
download | volse-hubzilla-b6efb02ed291fcdfb32e8587a031950d752327bc.tar.gz volse-hubzilla-b6efb02ed291fcdfb32e8587a031950d752327bc.tar.bz2 volse-hubzilla-b6efb02ed291fcdfb32e8587a031950d752327bc.zip |
uuid for likes
-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..5b387e6ee 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 ])); @@ -1983,6 +1985,7 @@ class Activity { $response_activity = true; $s['mid'] = $act->id; + $s['uuid'] = $act['diaspora:guid']; $s['parent_mid'] = $act->obj['id']; // over-ride the object timestamp with the activity |