From 4003aaaa124b1ffa77d07f7e2ae5d16e2dddacf1 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Wed, 1 Mar 2017 01:13:21 +0100 Subject: [feat] mail status will only work for a valid userid We used to return the system status if no userid is provided. We don't do it anymore, now is only userid based. - Resolves: #8785 --- ui/app/lib/bitmask.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'ui/app') diff --git a/ui/app/lib/bitmask.js b/ui/app/lib/bitmask.js index 0a628ee..79f4b91 100644 --- a/ui/app/lib/bitmask.js +++ b/ui/app/lib/bitmask.js @@ -213,9 +213,6 @@ var bitmask = function(){ * @return {Promise} User readable status */ status: function(uid) { - if (typeof uid !== 'string') { - uid = null - } return call(['mail', 'status', uid]); }, -- cgit v1.2.3