diff options
author | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-11-19 03:27:59 -0800 |
---|---|---|
committer | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-11-19 03:27:59 -0800 |
commit | fb6974bca8878726330e2cc460e0c1ff2def1a99 (patch) | |
tree | 2c15568ea02c682de71aa4e9193ac0b8748d32e1 /src/tw | |
parent | 1de0593b707540b4c1bd03f2c0a151281a893be6 (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 } |