jenkins-bot has submitted this change and it was merged.
Change subject: Add a comment to counting unread page notifications
......................................................................
Add a comment to counting unread page notifications
Change-Id: Ic2cd5e06ddf926da9fe9c924e5f46e0e4601fde9
---
M modules/viewmodel/mw.echo.dm.NotificationsModel.js
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
Mattflaschen: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/viewmodel/mw.echo.dm.NotificationsModel.js
b/modules/viewmodel/mw.echo.dm.NotificationsModel.js
index f51bc73..229df79 100644
--- a/modules/viewmodel/mw.echo.dm.NotificationsModel.js
+++ b/modules/viewmodel/mw.echo.dm.NotificationsModel.js
@@ -133,6 +133,11 @@
}
};
+ /**
+ * Count the unread messages that originate from the user talk page.
+ *
+ * @return {number} Number of unread talk page messages
+ */
mw.echo.dm.NotificationsModel.prototype.countUnreadTalkPageNotifications =
function () {
var i, len,
talk = 0,
--
To view, visit https://gerrit.wikimedia.org/r/243021
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic2cd5e06ddf926da9fe9c924e5f46e0e4601fde9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Mooeypoo <[email protected]>
Gerrit-Reviewer: Mattflaschen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits