         beatmap_discussion_post:
           message: @state.message
 
-    if @state.timestamp?
+    if @props.mode == 'timeline'
       data.beatmap_discussion =
         message_type: e.currentTarget.dataset.type
         timestamp: @state.timestamp



  parseTimestamp: ->
    timestampRe = @state.message.match /^(\d{2}):(\d{2})[:.](\d{3}) /

    @setState timestamp:
      if timestampRe?



  setMessage: (e) ->
    if @props.mode == 'timeline'
      callback = @parseTimestamp

    @setState message: e.currentTarget.value, callback


  post: (e) ->
