diff options
| author | winter | 2025-03-15 18:35:59 +0000 |
|---|---|---|
| committer | winter | 2025-03-15 18:52:54 +0000 |
| commit | 61b122e88cc6783b4d0cf5142a22002f8e558c60 (patch) | |
| tree | 847b864a93f716157456891d4526077e5f0b93f7 /Digitigrade/Model/Actor.php | |
| parent | cb904ef3fb05ab106d5e5e12f6273b8117db4216 (diff) | |
implement pages
Diffstat (limited to 'Digitigrade/Model/Actor.php')
| -rw-r--r-- | Digitigrade/Model/Actor.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Digitigrade/Model/Actor.php b/Digitigrade/Model/Actor.php index 229582c..0541e1b 100644 --- a/Digitigrade/Model/Actor.php +++ b/Digitigrade/Model/Actor.php @@ -325,6 +325,10 @@ class Actor extends PushableModel implements RpcReceiver { return $this->handle . (($alwaysIncludeDomain || !$this->isLocal) ? '@' . hostname_from_uri($this->uri) : ''); } + public function getLocalUiHref(): string { + return '/@/' . $this->getFullHandle(); + } + public function jsonSerialize(): array { if ($this->deleted) { return [ |
