mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
FIX: private message button wasn't adding the recipient (cc @gdpelican)
This commit is contained in:
@ -15,7 +15,7 @@ var ApplicationRoute = Discourse.Route.extend({
|
||||
composePrivateMessage: function(user) {
|
||||
var self = this;
|
||||
this.transitionTo('userActivity', user).then(function () {
|
||||
self.controllerFor('user-activity').send('composePrivateMessage');
|
||||
self.controllerFor('user-activity').send('composePrivateMessage', user);
|
||||
});
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user