aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-01-28 15:29:39 -0800
committerzotlabs <mike@macgirvin.com>2019-01-28 15:29:39 -0800
commit753f137575674a4fb1cfb16753baced6ed21145a (patch)
treecf7b73edf3160f3359c853c4b3c192b33c7fe35d /Zotlabs
parent043f7bf2abe069c7ac504e0b944db3c0e4318688 (diff)
downloadvolse-hubzilla-753f137575674a4fb1cfb16753baced6ed21145a.tar.gz
volse-hubzilla-753f137575674a4fb1cfb16753baced6ed21145a.tar.bz2
volse-hubzilla-753f137575674a4fb1cfb16753baced6ed21145a.zip
disable hyperdrive in hubzilla
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Libzot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 1440a9691..27502009c 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1534,6 +1534,11 @@ class Libzot {
// the top level post is unlikely to be imported and
// this is just an exercise in futility.
+
+ if((! get_pconfig($channel['channel_id'],'system','hyperdrive',false)) || (! $arr['verb'] === 'Announce')) {
+ continue;
+ }
+
if((! $relay) && (! $request) && (! $local_public)
&& perm_is_allowed($channel['channel_id'],$sender,'send_stream')) {
self::fetch_conversation($channel,$arr['parent_mid']);