This commit is contained in:
Sam Saffron 2013-02-13 21:57:58 +11:00
parent 3bfdb2dd5b
commit 93846aecb1

View file

@ -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