aboutsummaryrefslogtreecommitdiff
path: root/src/session.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.rs')
-rw-r--r--src/session.rs3
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