From 579adb48978172ae26f8cb1c724b8b17a6a37b34 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 21 Apr 2020 09:42:40 +0000 Subject: fix onepoll --- Zotlabs/Daemon/Onepoll.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Zotlabs/Daemon/Onepoll.php') 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(); -- cgit v1.2.3 From 03c1419ad0f5ed62b00ee49b81927223daed4c50 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 2 May 2020 11:48:11 +0000 Subject: missing lib include --- Zotlabs/Daemon/Onepoll.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Zotlabs/Daemon/Onepoll.php') diff --git a/Zotlabs/Daemon/Onepoll.php b/Zotlabs/Daemon/Onepoll.php index fdcb907d1..93a5412b0 100644 --- a/Zotlabs/Daemon/Onepoll.php +++ b/Zotlabs/Daemon/Onepoll.php @@ -2,6 +2,8 @@ namespace Zotlabs\Daemon; +use Zotlabs\Lib\Libzot; + require_once('include/zot.php'); require_once('include/socgraph.php'); -- cgit v1.2.3