diff options
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-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 |