phpcs
This commit is contained in:
parent
9eb903ac15
commit
3a0f62b092
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ function get_publickey_by_actor( $actor, $key_id ) {
|
|||
|
||||
function get_actor_from_key( $key_id ) {
|
||||
$actor = \strip_fragment_from_url( $key_id );
|
||||
if ( $actor === $key_id ) {
|
||||
if ( $actor === $key_id ) {
|
||||
// strip /main-key/ for GoToSocial.
|
||||
$actor = \dirname( $key_id );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue