1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-22 19:49:02 +01:00

Make viewing a user's profile page clear notifications about that user

Summary: Ref T13222. See PHI996. This is a general correctness improvement, but also allows you to clear test notifications by clicking on them (since their default destination is the recipient's profile page).

Test Plan: Clicked a test notification, got taken to my profile page, saw notification marked as read.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13222

Differential Revision: https://secure.phabricator.com/D19867
This commit is contained in:
epriestley 2018-12-10 16:13:54 -08:00
parent 05900a4cc9
commit 0e067213fb

View file

@ -74,6 +74,10 @@ final class PhabricatorPeopleProfileViewController
->setTitle($user->getUsername())
->setNavigation($nav)
->setCrumbs($crumbs)
->setPageObjectPHIDs(
array(
$user->getPHID(),
))
->appendChild(
array(
$home,