mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 14:52:46 +08:00
FIX: Non-Admins couldn't send private messages through the new user expansion
This commit is contained in:
parent
0060050c08
commit
bbf0312e72
|
@ -19,7 +19,7 @@ Discourse.TopicRoute = Discourse.Route.extend({
|
|||
|
||||
composePrivateMessage: function(user) {
|
||||
var self = this;
|
||||
this.transitionTo('userPrivateMessages', user).then(function () {
|
||||
this.transitionTo('userActivity', user).then(function () {
|
||||
self.controllerFor('userActivity').send('composePrivateMessage');
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user