diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-08-26 19:13:18 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-08-26 19:17:54 +0300 |
commit | c6f11fb5927bb19a29b05434f0a733eee2c84c1e (patch) | |
tree | 0fe7dd0559df0a41654f0e2c4d126101d1c1470e /src/state.rs | |
parent | e349882ea7d1c5bbc3d08faf9c08758393891ff1 (diff) |
melib: update notify to 4.0.15
Diffstat (limited to 'src/state.rs')
-rw-r--r-- | src/state.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/state.rs b/src/state.rs index 66a03c4d..93897bf8 100644 --- a/src/state.rs +++ b/src/state.rs @@ -386,8 +386,8 @@ impl State { * and startup a thread to remind us to poll it every now and then till it's finished. */ pub fn refresh_event(&mut self, event: RefreshEvent) { - let account_hash = event.account_hash(); - let mailbox_hash = event.mailbox_hash(); + let account_hash = event.account_hash; + let mailbox_hash = event.mailbox_hash; if self.context.accounts[&account_hash] .mailbox_entries .contains_key(&mailbox_hash) @@ -410,7 +410,7 @@ impl State { self.rcv_event(notification); } } else { - if let melib::backends::RefreshEventKind::Failure(err) = event.kind() { + if let melib::backends::RefreshEventKind::Failure(err) = event.kind { debug!(err); } } |