diff options
author | Mario <mario@mariovavti.com> | 2022-01-26 19:28:04 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-26 19:28:04 +0000 |
commit | 67e64287afc6c41c80065614f7beebe8a552a76b (patch) | |
tree | a0ffc3be53eda2660769914bf92bd3e038a60df2 | |
parent | b022703b0b15ad8ba11c243f0274cadfae8e96c6 (diff) | |
download | volse-hubzilla-67e64287afc6c41c80065614f7beebe8a552a76b.tar.gz volse-hubzilla-67e64287afc6c41c80065614f7beebe8a552a76b.tar.bz2 volse-hubzilla-67e64287afc6c41c80065614f7beebe8a552a76b.zip |
missing define of variable, remove deprecated zot-info and ofeed from webfinger
-rw-r--r-- | Zotlabs/Lib/Activity.php | 2 | ||||
-rw-r--r-- | Zotlabs/Module/Wfinger.php | 13 |
2 files changed, 3 insertions, 12 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 3ba8339f6..33183de76 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -2638,6 +2638,8 @@ class Activity { } } + $rawmsg = ''; + if (is_array($act->obj) && is_array($act->obj['attachment'])) { foreach($act->obj['attachment'] as $a) { if (isset($a['type']) && $a['type'] === 'PropertyValue' && diff --git a/Zotlabs/Module/Wfinger.php b/Zotlabs/Module/Wfinger.php index 43102f006..6d0e78587 100644 --- a/Zotlabs/Module/Wfinger.php +++ b/Zotlabs/Module/Wfinger.php @@ -126,7 +126,7 @@ class Wfinger extends \Zotlabs\Web\Controller { 'http://webfinger.net/ns/name' => $r['channel_name'], 'http://xmlns.com/foaf/0.1/name' => $r['channel_name'], 'https://w3id.org/security/v1#publicKeyPem' => $r['xchan_pubkey'], - 'http://purl.org/zot/federation' => 'zot6,zot' + 'http://purl.org/zot/federation' => 'zot6' ]; foreach($aliases as $alias) @@ -184,12 +184,6 @@ class Wfinger extends \Zotlabs\Web\Controller { ], [ - 'rel' => 'http://schemas.google.com/g/2010#updates-from', - 'type' => 'application/atom+xml', - 'href' => z_root() . '/ofeed/' . $r['channel_address'] - ], - - [ 'rel' => 'http://webfinger.net/rel/blog', 'href' => z_root() . '/channel/' . $r['channel_address'], ], @@ -206,11 +200,6 @@ class Wfinger extends \Zotlabs\Web\Controller { ], [ - 'rel' => 'http://purl.org/zot/protocol', - 'href' => z_root() . '/.well-known/zot-info' . '?address=' . $r['xchan_addr'], - ], - - [ 'rel' => 'http://purl.org/openwebauth/v1', 'type' => 'application/x-zot+json', 'href' => z_root() . '/owa', |