diff options
author | Mario <mario@mariovavti.com> | 2020-08-20 08:43:13 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-08-20 08:43:13 +0000 |
commit | e55a1a6aa8fe55d20b588f0223a15018053bfd48 (patch) | |
tree | 0ef7ab566e09430d61d95013af48e862a0023858 /Zotlabs/Daemon/Notifier.php | |
parent | 21e5b05b149736bcc49a662d713be5deadb32c16 (diff) | |
download | volse-hubzilla-e55a1a6aa8fe55d20b588f0223a15018053bfd48.tar.gz volse-hubzilla-e55a1a6aa8fe55d20b588f0223a15018053bfd48.tar.bz2 volse-hubzilla-e55a1a6aa8fe55d20b588f0223a15018053bfd48.zip |
fix item deletion
Diffstat (limited to 'Zotlabs/Daemon/Notifier.php')
-rw-r--r-- | Zotlabs/Daemon/Notifier.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php index 8993d8aee..0f5393f0a 100644 --- a/Zotlabs/Daemon/Notifier.php +++ b/Zotlabs/Daemon/Notifier.php @@ -361,8 +361,9 @@ class Notifier { $encoded_item = encode_item($target_item); - // activitystreams version - $m = get_iconfig($target_item,'activitystreams','signed_data'); + // activitystreams version (recreate for deleted items) + $m = ((intval($target_item['item_deleted'])) ? '' : get_iconfig($target_item,'activitystreams','signed_data')); + if($m) { $activity = json_decode($m,true); } |