aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-30 19:40:17 -0700
committerMario Vavti <mario@mariovavti.com>2017-05-01 15:14:25 +0200
commitd8460f147bc74cbeffb95eadfaa1475ae3f1c267 (patch)
treef4c84289c476bd2dd31637b76f2334388b0f649f /Zotlabs/Daemon
parent71e508c7cda281115f9edf783639846cdb324508 (diff)
downloadvolse-hubzilla-d8460f147bc74cbeffb95eadfaa1475ae3f1c267.tar.gz
volse-hubzilla-d8460f147bc74cbeffb95eadfaa1475ae3f1c267.tar.bz2
volse-hubzilla-d8460f147bc74cbeffb95eadfaa1475ae3f1c267.zip
use hostname, not url
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r--Zotlabs/Daemon/Onepoll.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Onepoll.php b/Zotlabs/Daemon/Onepoll.php
index 476e861d1..920916828 100644
--- a/Zotlabs/Daemon/Onepoll.php
+++ b/Zotlabs/Daemon/Onepoll.php
@@ -135,7 +135,7 @@ class Onepoll {
// remote fetch
$feedurl = str_replace('/poco/','/zotfeed/',$contact['xchan_connurl']);
- $feedurl .= '?f=&mindate=' . urlencode($last_update) . '&zid=' . $importer['channel_address'] . '@' . z_root();
+ $feedurl .= '?f=&mindate=' . urlencode($last_update) . '&zid=' . $importer['channel_address'] . '@' . \App::get_hostname();
$recurse = 0;
$x = z_fetch_url($feedurl, false, $recurse, [ 'session' => true ]);
}