                 @_session?.relogin()
                 .then =>
                     console.info "%cRelogin successful.", Colors.text.info
+                    @emit "did-login", @_session
                     app.command.dispatch "channel:reset-session", @_session
                     return
 


    onDidChangeChannel : (listener) ->
        @on "did-change-channel", listener

                    @_session = session
                    @_saveSession()

                    @emit "did-login", @_session
                    app.command.dispatch "channel:reset-session", @_session
                    callback()

                .catch (e) =>
