diff options
author | iximeow <me@iximeow.net> | 2017-11-19 03:27:59 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2017-11-19 03:27:59 -0800 |
commit | 0fb90e1ff2c89c403c6668064766df0aa202b2a1 (patch) | |
tree | 2c15568ea02c682de71aa4e9193ac0b8748d32e1 /src/tw | |
parent | c8cdc9973142eed58e4731ba6199b273303cd6c4 (diff) |
support reconnecting specific profiles, switching profiles
open issues: something is wrong with loading settings - something gets
replayed from main account to alternate accounts.
auth'ing a new account doesn't set handle, name, etc.
i think most issue are because events aren't recorded with what
connection they came from - welcome event for any account gets replayed
onto curr_profile because we simply don't know which connection the
event was from.
the same will happen for twitter events, but those aren't logged.
Diffstat (limited to 'src/tw')
-rw-r--r-- | src/tw/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tw/mod.rs b/src/tw/mod.rs index dc91cdd..b81fa52 100644 --- a/src/tw/mod.rs +++ b/src/tw/mod.rs @@ -23,10 +23,11 @@ use self::tweet::Tweet; pub mod user; use self::user::User; +#[derive(Clone)] pub enum AppState { Shutdown, ShowHelp, - Reconnect, + Reconnect(String), Compose, View } |