diff options
author | zotlabs <mike@macgirvin.com> | 2018-11-11 15:12:01 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-11-11 15:12:01 -0800 |
commit | da452decf695ceac249642ec9d12fb724fa547f7 (patch) | |
tree | 2412eadb628d7e24d09b4545a78883cd0e72244c /Zotlabs/Module/Connedit.php | |
parent | c80ac58effdb71fe457daa164053ea57c1513e68 (diff) | |
download | volse-hubzilla-da452decf695ceac249642ec9d12fb724fa547f7.tar.gz volse-hubzilla-da452decf695ceac249642ec9d12fb724fa547f7.tar.bz2 volse-hubzilla-da452decf695ceac249642ec9d12fb724fa547f7.zip |
more z6 debugging
Diffstat (limited to 'Zotlabs/Module/Connedit.php')
-rw-r--r-- | Zotlabs/Module/Connedit.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Connedit.php b/Zotlabs/Module/Connedit.php index 3d7ee449a..a9f643306 100644 --- a/Zotlabs/Module/Connedit.php +++ b/Zotlabs/Module/Connedit.php @@ -8,6 +8,7 @@ namespace Zotlabs\Module; */ use Zotlabs\Lib\Apps; +use Zotlabs\Lib\Libzot; require_once('include/socgraph.php'); require_once('include/selectors.php'); @@ -475,6 +476,10 @@ class Connedit extends \Zotlabs\Web\Controller { if(! zot_refresh($orig_record[0],\App::get_channel())) notice( t('Refresh failed - channel is currently unavailable.') ); } + elseif($orig_record[0]['xchan_network'] === 'zot6') { + if(! Libzot::refresh($orig_record[0],\App::get_channel())) + notice( t('Refresh failed - channel is currently unavailable.') ); + } else { // if you are on a different network we'll force a refresh of the connection basic info |