diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-04-19 08:28:42 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-04-19 08:28:42 +0200 |
commit | 92b08f1f07a25976342dc885331ecb1531e256aa (patch) | |
tree | 4127afeee7d8a3b710863d9ad022fed2b82a8ebc /include/network.php | |
parent | 16dcbc1e674cef1d51dc0e81f91d7055350f9990 (diff) | |
parent | a81011333fc113006fbf49b561915532f6cd2509 (diff) | |
download | volse-hubzilla-92b08f1f07a25976342dc885331ecb1531e256aa.tar.gz volse-hubzilla-92b08f1f07a25976342dc885331ecb1531e256aa.tar.bz2 volse-hubzilla-92b08f1f07a25976342dc885331ecb1531e256aa.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/network.php b/include/network.php index 897fbccd6..c41d87af0 100644 --- a/include/network.php +++ b/include/network.php @@ -1192,9 +1192,10 @@ function discover_by_webbie($webbie, $protocol = '') { logger('webfinger: ' . print_r($x,true), LOGGER_DATA, LOG_INFO); $arr = [ - 'address' => $webbie, - 'protocol' => $protocol, - 'success' => false, + 'address' => $webbie, + 'protocol' => $protocol, + 'success' => false, + 'xchan' => '', 'webfinger' => $x ]; /** @@ -1207,7 +1208,7 @@ function discover_by_webbie($webbie, $protocol = '') { */ call_hooks('discover_channel_webfinger', $arr); if($arr['success']) - return true; + return $arr['xchan']; return false; } |