From 3cdcb121c5cb7763d7c0b31f940e89ab4b4eab5f Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 30 Apr 2017 19:40:17 -0700 Subject: use hostname, not url --- Zotlabs/Daemon/Onepoll.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') 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 ]); } -- cgit v1.2.3