aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-08-20 08:43:13 +0000
committerMario <mario@mariovavti.com>2020-08-20 08:43:13 +0000
commite55a1a6aa8fe55d20b588f0223a15018053bfd48 (patch)
tree0ef7ab566e09430d61d95013af48e862a0023858 /Zotlabs/Daemon
parent21e5b05b149736bcc49a662d713be5deadb32c16 (diff)
downloadvolse-hubzilla-e55a1a6aa8fe55d20b588f0223a15018053bfd48.tar.gz
volse-hubzilla-e55a1a6aa8fe55d20b588f0223a15018053bfd48.tar.bz2
volse-hubzilla-e55a1a6aa8fe55d20b588f0223a15018053bfd48.zip
fix item deletion
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r--Zotlabs/Daemon/Notifier.php5
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);
}