             else
                 @_session = restoredSession
                 app.command.dispatch "channel:reset-session", @_session
-
+                @emit "did-login", @_session
                 console.info "%c[app.restoredSession] Session restored!", Colors.text.success
         #
         # .catch (e) =>

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



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

    onDidLogin : (listener) ->
        @on "did-login", listener
