diff --git a/app/js/filters.js b/app/js/filters.js index f2248724..857801fc 100644 --- a/app/js/filters.js +++ b/app/js/filters.js @@ -32,6 +32,12 @@ angular.module('myApp.filters', ['myApp.i18n']) .filter('userStatus', function($filter, _) { var relativeTimeFilter = $filter('relativeTime'); return function (user, botChatPrivacy) { + if (!(user.id % 1000)) { + if (user.id == 777000) { + return _('user_status_service_notifications'); + } + return _('user_status_support'); + } var statusType = user && user.status && user.status._; if (!statusType) { statusType = user && user.pFlags && user.pFlags.bot ? 'userStatusBot' : 'userStatusEmpty'; diff --git a/app/js/locales/en-us.json b/app/js/locales/en-us.json index 41964265..5f97b45c 100644 --- a/app/js/locales/en-us.json +++ b/app/js/locales/en-us.json @@ -167,6 +167,8 @@ "user_status_last_month": "last seen within a month", "user_status_long_ago": "last seen a long time ago", "user_status_bot": "bot", + "user_status_service_notifications": "service notifications", + "user_status_support": "support", "user_status_bot_noprivacy": "has access to messages", "user_status_bot_privacy": "has no access to messages", "chat_title_deleted": "DELETED",