FIX: Private Message button wasn't populating username

This commit is contained in:
Robin Ward 2013-07-18 10:43:38 -04:00
parent a03259fce7
commit 910c88c48e
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ Discourse.UserActivityController = Discourse.Controller.extend({
composePrivateMessage: function() {
return this.get('controllers.composer').open({
action: Discourse.Composer.PRIVATE_MESSAGE,
usernames: this.get('content.user.username'),
usernames: this.get('model.username'),
archetypeId: 'private_message',
draftKey: 'new_private_message'
});