Skip to content

A platform for community discussion. Free, open, simple.

FIX: allows to change a user group notification level (#10369)

Joffrey JAFFEUX4593bb60c580
diff --git a/app/assets/javascripts/discourse/app/controllers/user-private-messages.js b/app/assets/javascripts/discourse/app/controllers/user-private-messages.js
index d079104584f..83cb0638832 100644
--- a/app/assets/javascripts/discourse/app/controllers/user-private-messages.js
+++ b/app/assets/javascripts/discourse/app/controllers/user-private-messages.js
@@ -60,7 +60,7 @@ export default Controller.extend({
actions: {
changeGroupNotificationLevel(notificationLevel) {
- this.group.setNotification(notificationLevel, this.get("user.id"));
+ this.group.setNotification(notificationLevel, this.get("user.model.id"));
},
archive() {
this.bulkOperation("archive_messages");