mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 23:41:04 +08:00
FEATURE: Introduce ignore duration selection (#7266)
* FEATURE: Introducing new UI for tracking User's ignored or muted states
This commit is contained in:
@ -615,10 +615,10 @@ const User = RestModel.extend({
|
||||
}
|
||||
},
|
||||
|
||||
updateNotificationLevel(level) {
|
||||
updateNotificationLevel(level, expiringAt) {
|
||||
return ajax(`${userPath(this.get("username"))}/notification_level.json`, {
|
||||
type: "PUT",
|
||||
data: { notification_level: level }
|
||||
data: { notification_level: level, expiring_at: expiringAt }
|
||||
});
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user