diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-13 12:25:19 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-13 12:25:19 +0200 |
commit | 7113809cb7b9f0e73d942b295e693675301d1565 (patch) | |
tree | 801d5a201507f9b8721b21048615689b85edfcd7 /src/session.rs | |
parent | bdae537fe7dbf9c7fc731af3f427400055ea03cf (diff) | |
download | aerogramme-7113809cb7b9f0e73d942b295e693675301d1565.tar.gz aerogramme-7113809cb7b9f0e73d942b295e693675301d1565.zip |
Improve SELECT
Diffstat (limited to 'src/session.rs')
-rw-r--r-- | src/session.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/session.rs b/src/session.rs index 4e8b301..78d5ffc 100644 --- a/src/session.rs +++ b/src/session.rs @@ -72,10 +72,11 @@ pub struct Instance { pub mailstore: Arc<Mailstore>, pub creds: Option<Credentials>, pub selected: Option<Mailbox>, + pub username: Option<String>, } impl Instance { fn new(mailstore: Arc<Mailstore>, rx: mpsc::Receiver<Message>) -> Self { - Self { mailstore, rx, creds: None, selected: None, } + Self { mailstore, rx, creds: None, selected: None, username: None, } } //@FIXME add a function that compute the runner's name from its local info |