Merge branch 'magicauth' into 'dev'

Fix import_xchan function not found

See merge request macgirvin/osada!3
This commit is contained in:
Mike Macgirvin 2018-09-28 07:03:38 +02:00
commit aa76164fa2

View file

@ -2,6 +2,7 @@
namespace Zotlabs\Module;
use Zotlabs\Web\HTTPSig;
use Zotlabs\Lib\Libzot;
class Magic extends \Zotlabs\Web\Controller {
@ -53,7 +54,7 @@ class Magic extends \Zotlabs\Web\Controller {
$j = \Zotlabs\Zot\Finger::run((($addr) ? $addr : '[system]@' . $parsed['host']),null);
if($j['success']) {
import_xchan($j);
Libzot::import_xchan($j);
// Now try again