13 sucks
This commit is contained in:
parent
3bfdb2dd5b
commit
93846aecb1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue