better mastodon compatibility

This commit is contained in:
Matthias Pfefferle 2023-09-28 14:38:48 +02:00
parent 86ab132362
commit ebc6433213
2 changed files with 5 additions and 1 deletions

View file

@ -204,7 +204,7 @@ class Blog_User extends User {
}
public function get_attachment() {
return null;
return array();
}
public function get_canonical_url() {

View file

@ -304,6 +304,10 @@ class User extends Actor {
return null;
}
public function get_tag() {
return array();
}
public function get_indexable() {
if ( \get_option( 'blog_public', 1 ) ) {
return true;