This commit is contained in:
Django Doucet 2023-04-04 20:36:25 -06:00
parent 9eb903ac15
commit 3a0f62b092

View file

@ -221,7 +221,7 @@ function get_publickey_by_actor( $actor, $key_id ) {
function get_actor_from_key( $key_id ) { function get_actor_from_key( $key_id ) {
$actor = \strip_fragment_from_url( $key_id ); $actor = \strip_fragment_from_url( $key_id );
if ( $actor === $key_id ) { if ( $actor === $key_id ) {
// strip /main-key/ for GoToSocial. // strip /main-key/ for GoToSocial.
$actor = \dirname( $key_id ); $actor = \dirname( $key_id );
} }