mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix inviting others to private messages.
This commit is contained in:
@@ -15,7 +15,6 @@ Discourse.PrivateMessageMapComponent = Ember.View.extend({
|
||||
init: function() {
|
||||
this._super();
|
||||
this.set('context', this);
|
||||
this.set('controller', this);
|
||||
},
|
||||
|
||||
actions: {
|
||||
@@ -34,7 +33,7 @@ Discourse.PrivateMessageMapComponent = Ember.View.extend({
|
||||
},
|
||||
|
||||
showPrivateInvite: function() {
|
||||
this.sendAction('showPrivateInviteAction');
|
||||
this.get('controller').send('showPrivateInviteAction');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user