       @setState
         message: ''
         editing: false
-        resolveDiscussion: resolved
       $.publish 'beatmapDiscussionPost:markRead', id: data.beatmap_discussion_post_ids
       $.publish 'beatmapsetDiscussion:update', beatmapsetDiscussion: data.beatmapset_discussion
 

    resolved = switch event.currentTarget.dataset.action
               when 'resolve' then true
               when 'reopen' then false
               else @state.resolveDiscussion

    @postXhr = $.ajax laroute.route('beatmap-discussion-posts.store'),
      method: 'POST'

    @throttledPost(e)


  validPost: =>
    @state.message.length != 0
