aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Externals.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2022-02-08 15:14:16 +0100
committerMario Vavti <mario@mariovavti.com>2022-02-08 15:14:16 +0100
commit21c4ec2de0f26341c3dcfda2c03f2db6be2795bf (patch)
tree596391f57294e8411a85957aa8dd1667b1cd4bfe /Zotlabs/Daemon/Externals.php
parent99dcdee67ab3521bd3e5e58ba4a85182b7a44890 (diff)
downloadvolse-hubzilla-21c4ec2de0f26341c3dcfda2c03f2db6be2795bf.tar.gz
volse-hubzilla-21c4ec2de0f26341c3dcfda2c03f2db6be2795bf.tar.bz2
volse-hubzilla-21c4ec2de0f26341c3dcfda2c03f2db6be2795bf.zip
fix php error in externals and streamline actor cache time
Diffstat (limited to 'Zotlabs/Daemon/Externals.php')
-rw-r--r--Zotlabs/Daemon/Externals.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Externals.php b/Zotlabs/Daemon/Externals.php
index 81414d02d..fb35a65c7 100644
--- a/Zotlabs/Daemon/Externals.php
+++ b/Zotlabs/Daemon/Externals.php
@@ -133,7 +133,9 @@ class Externals {
continue;
}
- Libzot::fetch_conversation($importer, $message['object']['id']);
+ $obj_id = isset($message['object']['id']) ?? $message['object'];
+
+ Libzot::fetch_conversation($importer, $obj_id);
$total++;
continue;
}