Notification: use speechBubbles icon for all talk pages

Bug: T56433
Change-Id: I14e1af9dda1c08e1526fde59072f93189ab0b0d0
This commit is contained in:
Stephane Bisson 2016-02-23 06:53:55 -05:00
parent 6b36375ded
commit 860404eded

View file

@ -415,10 +415,9 @@ abstract class EchoEventPresentationModel implements JsonSerializable {
* @return array
*/
final protected function getPageLink( Title $title, $description, $prioritized, $query = array() ) {
$ns = $title->getNamespace();
if ( $ns === NS_USER_TALK ) {
if ( $title->getNamespace() === NS_USER_TALK ) {
$icon = 'userSpeechBubble';
} elseif ( $ns === NS_TALK ) {
} elseif ( $title->isTalkPage() ) {
$icon = 'speechBubbles';
} else {
$icon = 'article';