mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
FEATURE: civilized mute
Allow user to mute all notifications generated by specific users
This commit is contained in:
@ -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')});
|
||||
|
Reference in New Issue
Block a user