aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Notifier.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-22 10:32:05 +0000
committerMario <mario@mariovavti.com>2021-02-22 10:32:05 +0000
commitd4159e83336215de53d87ba9785d252b3d064b6a (patch)
treef1699e96b01bffd3d8c418c824e3f4c1101b7e56 /Zotlabs/Daemon/Notifier.php
parentddad4f604b56656086b32992ef98709be2568a37 (diff)
downloadvolse-hubzilla-d4159e83336215de53d87ba9785d252b3d064b6a.tar.gz
volse-hubzilla-d4159e83336215de53d87ba9785d252b3d064b6a.tar.bz2
volse-hubzilla-d4159e83336215de53d87ba9785d252b3d064b6a.zip
streamline iconf names and make sure to save the correct data
Diffstat (limited to 'Zotlabs/Daemon/Notifier.php')
-rw-r--r--Zotlabs/Daemon/Notifier.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php
index 78e116d68..02a0e155f 100644
--- a/Zotlabs/Daemon/Notifier.php
+++ b/Zotlabs/Daemon/Notifier.php
@@ -347,7 +347,6 @@ class Notifier {
return;
}
-
if ($target_item['mid'] === $target_item['parent_mid']) {
$parent_item = $target_item;
$top_level_post = true;
@@ -381,7 +380,7 @@ class Notifier {
$encoded_item = encode_item($target_item);
// Re-use existing signature unless the activity type changed to a Tombstone, which won't verify.
- $m = ((intval($target_item['item_deleted'])) ? '' : get_iconfig($target_item, 'activitystreams', 'signed_data'));
+ $m = ((intval($target_item['item_deleted'])) ? '' : get_iconfig($target_item, 'activitypub', 'signed_data'));
if ($m) {
$activity = json_decode($m, true);