Browse Source

conf/accounts.rs: add hash() method

master
Manos Pitsidianakis 2 years ago
parent
commit
d6ef3567f4
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 4
      src/conf/accounts.rs

4
src/conf/accounts.rs

@ -1010,6 +1010,10 @@ impl Account {
&self.name
}
pub fn hash(&self) -> AccountHash {
self.hash
}
pub fn load(&mut self, mailbox_hash: MailboxHash) -> result::Result<(), usize> {
if mailbox_hash == 0 {
return Err(0);

Loading…
Cancel
Save