diff --git a/app/assets/javascripts/discourse/routes/user_private_messages_route.js.coffee b/app/assets/javascripts/discourse/routes/user_private_messages_route.js.coffee index eded2a28519..2ff6bafd51d 100644 --- a/app/assets/javascripts/discourse/routes/user_private_messages_route.js.coffee +++ b/app/assets/javascripts/discourse/routes/user_private_messages_route.js.coffee @@ -4,7 +4,7 @@ window.Discourse.UserPrivateMessagesRoute = Discourse.Route.extend setupController: (controller, user) -> user = @controllerFor('user').get('content') controller.set('content', user) - user.filterStream(13) + user.filterStream(Discourse.UserAction.GOT_PRIVATE_MESSAGE) Discourse.Draft.get('new_private_message').then (data)=> if data.draft