aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Onepoll.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-21 09:42:40 +0000
committerMario <mario@mariovavti.com>2020-04-21 09:42:40 +0000
commit579adb48978172ae26f8cb1c724b8b17a6a37b34 (patch)
tree3efb95f56a45d6b3fbcf22e9bc7d575d162a6926 /Zotlabs/Daemon/Onepoll.php
parentc71422e909a8583fcdbea4f1c4ada8c4e85a8f1a (diff)
downloadvolse-hubzilla-579adb48978172ae26f8cb1c724b8b17a6a37b34.tar.gz
volse-hubzilla-579adb48978172ae26f8cb1c724b8b17a6a37b34.tar.bz2
volse-hubzilla-579adb48978172ae26f8cb1c724b8b17a6a37b34.zip
fix onepoll
Diffstat (limited to 'Zotlabs/Daemon/Onepoll.php')
-rw-r--r--Zotlabs/Daemon/Onepoll.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Onepoll.php b/Zotlabs/Daemon/Onepoll.php
index 2f06ec125..fdcb907d1 100644
--- a/Zotlabs/Daemon/Onepoll.php
+++ b/Zotlabs/Daemon/Onepoll.php
@@ -76,7 +76,11 @@ class Onepoll {
// update permissions
- $x = zot_refresh($contact,$importer);
+ if($contact['xchan_network'] === 'zot6')
+ $x = Libzot::refresh($contact,$importer);
+
+ if($contact['xchan_network'] === 'zot')
+ $x = zot_refresh($contact,$importer);
$responded = false;
$updated = datetime_convert();