FEATURE: civilized mute

Allow user to mute all notifications generated by specific users
This commit is contained in:
Sam
2015-03-24 11:55:22 +11:00
parent ff3e1e1dd7
commit 92e371f0b3
12 changed files with 102 additions and 5 deletions

View File

@ -189,7 +189,8 @@ const User = Discourse.Model.extend({
'enable_quoting',
'disable_jump_reply',
'custom_fields',
'user_fields');
'user_fields',
'muted_usernames');
['muted','watched','tracked'].forEach(function(s){
var cats = self.get(s + 'Categories').map(function(c){ return c.get('id')});