This commit is contained in:
Sam Saffron 2013-02-13 21:57:58 +11:00
parent 3bfdb2dd5b
commit 93846aecb1
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ window.Discourse.UserPrivateMessagesRoute = Discourse.Route.extend
setupController: (controller, user) -> setupController: (controller, user) ->
user = @controllerFor('user').get('content') user = @controllerFor('user').get('content')
controller.set('content', user) controller.set('content', user)
user.filterStream(13) user.filterStream(Discourse.UserAction.GOT_PRIVATE_MESSAGE)
Discourse.Draft.get('new_private_message').then (data)=> Discourse.Draft.get('new_private_message').then (data)=>
if data.draft if data.draft