       @checkNewTimeout = Timeout.set @nextTimeout, @checkNew
 
 
-  currentDiscussions: ->
+  currentDiscussions: =>
     if !@cache.currentDiscussions?
       general = []
       timeline = []

    @setState currentBeatmap: beatmap, callback


  setCurrentPlaymode: (_e, {mode}) ->
    beatmap = BeatmapHelper.default items: @state.beatmaps[mode]
    @setCurrentBeatmapId null, id: beatmap?.id


  setFilter: (_e, {filter}) ->
    return if @state.mode == 'timeline' && filter == @state.currentFilter

    @setState

    @checkNewTimeout = Timeout.set @checkNewTimeoutDefault, @checkNew


  componentWillUpdate: =>
    @cache = {}


  componentWillUnmount: =>
    $.unsubscribe '.beatmapDiscussions'
    $(document).off '.beatmapDiscussions'

