diff options
author | Mario <mario@mariovavti.com> | 2020-04-21 09:42:40 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-04-21 09:42:40 +0000 |
commit | 579adb48978172ae26f8cb1c724b8b17a6a37b34 (patch) | |
tree | 3efb95f56a45d6b3fbcf22e9bc7d575d162a6926 /Zotlabs | |
parent | c71422e909a8583fcdbea4f1c4ada8c4e85a8f1a (diff) | |
download | volse-hubzilla-579adb48978172ae26f8cb1c724b8b17a6a37b34.tar.gz volse-hubzilla-579adb48978172ae26f8cb1c724b8b17a6a37b34.tar.bz2 volse-hubzilla-579adb48978172ae26f8cb1c724b8b17a6a37b34.zip |
fix onepoll
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Daemon/Onepoll.php | 6 |
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(); |