diff options
author | Mario <mario@mariovavti.com> | 2020-10-02 15:12:42 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-10-02 15:12:42 +0000 |
commit | 93b90ab23a7ba4bf4867510a2a4798ef63f9098e (patch) | |
tree | 2242721d4f5e5d9ca2993673655e9ac5e7767f8a /Zotlabs/Lib/Activity.php | |
parent | 72c6d3e7baafd259ac00bcd2ff2da31c17e062f6 (diff) | |
download | volse-hubzilla-93b90ab23a7ba4bf4867510a2a4798ef63f9098e.tar.gz volse-hubzilla-93b90ab23a7ba4bf4867510a2a4798ef63f9098e.tar.bz2 volse-hubzilla-93b90ab23a7ba4bf4867510a2a4798ef63f9098e.zip |
more work on delete/undo
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index d1a1a1385..631606c46 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -2020,12 +2020,12 @@ class Activity { $s['expires'] = datetime_convert('UTC','UTC',$act->obj['expires']); } - if(in_array($act->type, [ 'Like', 'Dislike', 'Flag', 'Block', 'Announce', 'Accept', 'Reject', 'TentativeAccept', 'emojiReaction' ])) { + if(in_array($act->type, [ 'Like', 'Dislike', 'Flag', 'Block', 'Announce', 'Accept', 'Reject', 'TentativeAccept', 'emojiReaction', 'Undo', 'Delete' ])) { $response_activity = true; $s['mid'] = $act->id; - $s['parent_mid'] = $act->obj['id']; + $s['parent_mid'] = $act->parent_id; //$act->obj['id']; $s['uuid'] = $act->data['diaspora:guid']; // over-ride the object timestamp with the activity |