diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-03-01 01:13:21 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-03-03 00:47:22 +0100 |
commit | 4003aaaa124b1ffa77d07f7e2ae5d16e2dddacf1 (patch) | |
tree | 295e72d97ff8a24048fa647420233128a47c4bb8 /ui/app/lib/bitmask.js | |
parent | 4a5e181138e4ccd324d33426f3903825c178af48 (diff) |
[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
Diffstat (limited to 'ui/app/lib/bitmask.js')
-rw-r--r-- | ui/app/lib/bitmask.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/app/lib/bitmask.js b/ui/app/lib/bitmask.js index 0a628ee3..79f4b916 100644 --- a/ui/app/lib/bitmask.js +++ b/ui/app/lib/bitmask.js @@ -213,9 +213,6 @@ var bitmask = function(){ * @return {Promise<string>} User readable status */ status: function(uid) { - if (typeof uid !== 'string') { - uid = null - } return call(['mail', 'status', uid]); }, |