mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
ActivityPub: [Users] id instead of short adresses
This commit is contained in:
parent
e61fb5d44c
commit
01d7c682fe
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ final class UserPresenter extends OpenVKPresenter
|
|||
"name" => $user->getFullName(),
|
||||
"summary" => $user->getDescription(),
|
||||
"url" => $user->getFullURL(),
|
||||
"preferredUsername" => $user->getShortCode(),
|
||||
"preferredUsername" => "id" . $user->getId(), // Костыль, но рабочий
|
||||
"inbox" => $user->getFullURL() . "/inbox",
|
||||
"outbox" => $user->getFullURL() . "/outbox",
|
||||
"followers" => ovk_scheme(true) . $_SERVER['SERVER_NAME'] . "/friends" . $user->getId() . '?act=incoming',
|
||||
|
|
Loading…
Reference in a new issue