summaryrefslogtreecommitdiff
path: root/ui/app
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-03-01 01:13:21 +0100
committerRuben Pollan <meskio@sindominio.net>2017-03-03 00:47:22 +0100
commit4003aaaa124b1ffa77d07f7e2ae5d16e2dddacf1 (patch)
tree295e72d97ff8a24048fa647420233128a47c4bb8 /ui/app
parent4a5e181138e4ccd324d33426f3903825c178af48 (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')
-rw-r--r--ui/app/lib/bitmask.js3
1 files changed, 0 insertions, 3 deletions
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<string>} User readable status
*/
status: function(uid) {
- if (typeof uid !== 'string') {
- uid = null
- }
return call(['mail', 'status', uid]);
},