aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-25 10:17:45 +0000
committerMario <mario@mariovavti.com>2021-09-25 10:17:45 +0000
commit2d17442f2885b43d0430767b3d50d616de9a453c (patch)
treee4be0d4e2b3d53da08205f2dbcbdfc9d922b15b8
parent5c179522bb00d019ec4691ffbb9b65371fc0f309 (diff)
downloadvolse-hubzilla-2d17442f2885b43d0430767b3d50d616de9a453c.tar.gz
volse-hubzilla-2d17442f2885b43d0430767b3d50d616de9a453c.tar.bz2
volse-hubzilla-2d17442f2885b43d0430767b3d50d616de9a453c.zip
externals: if dealing with AP profiles also fetch comments. there is no way to fetch conversations later
-rw-r--r--Zotlabs/Daemon/Externals.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/Zotlabs/Daemon/Externals.php b/Zotlabs/Daemon/Externals.php
index 71589a4c6..81414d02d 100644
--- a/Zotlabs/Daemon/Externals.php
+++ b/Zotlabs/Daemon/Externals.php
@@ -127,12 +127,12 @@ class Externals {
continue;
}
- // make sure we only fetch top level items
- if (isset($message['object']['inReplyTo'])) {
- continue;
- }
-
if ($contact['hubloc_network'] === 'zot6') {
+ // make sure we only fetch top level items
+ if (isset($message['object']['inReplyTo'])) {
+ continue;
+ }
+
Libzot::fetch_conversation($importer, $message['object']['id']);
$total++;
continue;