Page MenuHomePhabricator

Add accessor for current user to EchoEventPresentationModel
Closed, ResolvedPublic

Description

We keep finding cases where the recipient's gender is needed (primarily for French messages). For Thanks notifications the recipient is also in the extra event data, but for mentions it's not. There should be an accessor exposing $this->user (or the recipient for gender purposes, if we want to support that being different from the user for permission checks purposes for some reason).

Event Timeline

Catrope raised the priority of this task from to Needs Triage.
Catrope updated the task description. (Show Details)
Catrope subscribed.

Change 252855 had a related patch set uploaded (by Legoktm):
EventPresentationModel: Add accessor for current user's username

https://gerrit.wikimedia.org/r/252855

Change 252855 merged by jenkins-bot:
EventPresentationModel: Add accessor for current user's username

https://gerrit.wikimedia.org/r/252855

Checked in betalabs with uselang ru, fr.