Remove different states of ToSave in peerstate

This commit is contained in:
link2xt
2022-11-25 21:06:14 +00:00
parent 08de326930
commit 2ae9165bfb
5 changed files with 25 additions and 50 deletions

View File

@@ -147,7 +147,6 @@ mod tests {
use crate::chat;
use crate::message::{Message, Viewtype};
use crate::param::Param;
use crate::peerstate::ToSave;
use crate::test_utils::{bob_keypair, TestContext};
use super::*;
@@ -297,7 +296,7 @@ Sent with my Delta Chat Messenger: https://delta.chat";
gossip_key_fingerprint: Some(pub_key.fingerprint()),
verified_key: Some(pub_key.clone()),
verified_key_fingerprint: Some(pub_key.fingerprint()),
to_save: Some(ToSave::All),
to_save: true,
fingerprint_changed: false,
};
vec![(Some(peerstate), addr)]