Merge pull request #217 from akirk/fix-typo

This commit is contained in:
Matthias Pfefferle 2022-12-11 09:23:00 +01:00 committed by GitHub
commit e21806d06f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ function get_remote_metadata_by_actor( $actor ) {
return $pre;
}
if ( preg_match( '/^@?[^@]+@((?:[a-z0-9-]+\.)+[a-z]+)$/i', $actor ) ) {
$actor = \Acivitypub\Webfinger::resolve( $actor );
$actor = \Activitypub\Webfinger::resolve( $actor );
}
if ( ! $actor ) {