diff --git a/app/assets/javascripts/discourse/controllers/user_activity_controller.js b/app/assets/javascripts/discourse/controllers/user_activity_controller.js index 27a53d1eb..ecc15ca48 100644 --- a/app/assets/javascripts/discourse/controllers/user_activity_controller.js +++ b/app/assets/javascripts/discourse/controllers/user_activity_controller.js @@ -18,11 +18,9 @@ Discourse.UserActivityController = Discourse.ObjectController.extend({ composePrivateMessage: function() { return this.get('controllers.composer').open({ action: Discourse.Composer.PRIVATE_MESSAGE, - usernames: this.get('content').username, + usernames: this.get('content.user.username'), archetypeId: 'private_message', draftKey: 'new_private_message' }); } }); - -