mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 22:46:29 +03:00
Remove &Context from Peerstate and MimeParser
Passing Context around explicitly removes the need for explicit lifetimes.
This commit is contained in:
@@ -1124,7 +1124,6 @@ mod tests {
|
||||
// Ensure Bob knows Alice_FP
|
||||
let alice_pubkey = SignedPublicKey::load_self(&alice.ctx).await.unwrap();
|
||||
let peerstate = Peerstate {
|
||||
context: &bob.ctx,
|
||||
addr: "alice@example.com".into(),
|
||||
last_seen: 10,
|
||||
last_seen_autocrypt: 10,
|
||||
|
||||
Reference in New Issue
Block a user