From d1e609a886ad31b1478a9500b92f363014fc0d7c Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 9 Jan 2016 13:47:38 +0100 Subject: [PATCH] Local user profile getUrl gives dynamically generated URL --- classes/Profile.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/Profile.php b/classes/Profile.php index 845e4d429d..e8470d96c5 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -1431,6 +1431,8 @@ class Profile extends Managed_DataObject : $this->profileurl; } Event::handle('EndUserGroupHomeUrl', array($this->getGroup(), $url)); + } elseif ($this->isLocal()) { + $url = common_local_url('showstream', array('nickname' => $this->getNickname())); } else { $url = $this->profileurl; } -- 2.39.5