diff options
author | Mario <mario@mariovavti.com> | 2023-03-11 14:47:10 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-03-11 14:47:10 +0000 |
commit | d7aee292d3b549e6c7453da7cb93b63ccdc1a5b1 (patch) | |
tree | 427082bbd880a8034a39b726f180d8ccc4d36f0c | |
parent | 198751783623cdcd65701314a81e9c3b75b5dd2e (diff) | |
download | volse-hubzilla-d7aee292d3b549e6c7453da7cb93b63ccdc1a5b1.tar.gz volse-hubzilla-d7aee292d3b549e6c7453da7cb93b63ccdc1a5b1.tar.bz2 volse-hubzilla-d7aee292d3b549e6c7453da7cb93b63ccdc1a5b1.zip |
mark items as fetched in other places
-rw-r--r-- | Zotlabs/Daemon/Convo.php | 1 | ||||
-rw-r--r-- | Zotlabs/Daemon/Externals.php | 1 | ||||
-rw-r--r-- | Zotlabs/Daemon/Onepoll.php | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Daemon/Convo.php b/Zotlabs/Daemon/Convo.php index d1a7e4f4d..e05f7539e 100644 --- a/Zotlabs/Daemon/Convo.php +++ b/Zotlabs/Daemon/Convo.php @@ -55,6 +55,7 @@ class Convo { $AS = new ActivityStreams($message); if ($AS->is_valid() && is_array($AS->obj)) { $item = Activity::decode_note($AS); + $item['item_fetched'] = true; Activity::store($channel, $contact['abook_xchan'], $AS, $item); } } diff --git a/Zotlabs/Daemon/Externals.php b/Zotlabs/Daemon/Externals.php index 2c7c7c172..b67a0e286 100644 --- a/Zotlabs/Daemon/Externals.php +++ b/Zotlabs/Daemon/Externals.php @@ -143,6 +143,7 @@ class Externals { $AS = new ActivityStreams($message); if ($AS->is_valid() && is_array($AS->obj)) { $item = Activity::decode_note($AS); + $item['item_fetched'] = true; Activity::store($importer, $contact['hubloc_hash'], $AS, $item); $total++; } diff --git a/Zotlabs/Daemon/Onepoll.php b/Zotlabs/Daemon/Onepoll.php index 0a30a0c7d..bde39007e 100644 --- a/Zotlabs/Daemon/Onepoll.php +++ b/Zotlabs/Daemon/Onepoll.php @@ -172,6 +172,7 @@ class Onepoll { $AS = new ActivityStreams($message); if ($AS->is_valid() && is_array($AS->obj)) { $item = Activity::decode_note($AS); + $item['item_fetched'] = true; Activity::store($importer, $contact['abook_xchan'], $AS, $item); } } |