aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-30 19:40:17 -0700
committerzotlabs <mike@macgirvin.com>2017-04-30 19:40:17 -0700
commit3cdcb121c5cb7763d7c0b31f940e89ab4b4eab5f (patch)
tree07fdfe835f3c150dfca0a74026526d858ff70ab1 /Zotlabs
parent968209471ef807ed8d89ecc8cc2f0e3425509a19 (diff)
downloadvolse-hubzilla-3cdcb121c5cb7763d7c0b31f940e89ab4b4eab5f.tar.gz
volse-hubzilla-3cdcb121c5cb7763d7c0b31f940e89ab4b4eab5f.tar.bz2
volse-hubzilla-3cdcb121c5cb7763d7c0b31f940e89ab4b4eab5f.zip
use hostname, not url
Diffstat (limited to 'Zotlabs')
-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 ]);
}