This commit is contained in:
Jazz Turner-Baggs 2026-02-06 08:40:45 -08:00
parent 02dae0652d
commit 0ca5e7b08a
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
use std::{collections::HashMap, rc::Rc, sync::Arc};
use crate::{
conversation::{ConversationStore, Convo, Id},
conversation::{ConversationId, ConversationStore, Convo, Id},
errors::ChatError,
identity::Identity,
inbox::Inbox,

View File

@ -123,7 +123,7 @@ impl Inbox {
pub fn handle_frame(
&mut self,
enc_payload: EncryptedPayload,
) -> Result<(Box<dyn Convo>, Vec<ContentData>), ChatError> {
) -> Result<(Box<dyn Convo>, Option<ContentData>), ChatError> {
let handshake = Self::extract_payload(enc_payload)?;
let header = handshake
@ -142,7 +142,7 @@ impl Inbox {
let convo = PrivateV1Convo::new_responder(seed_key, ephemeral_key.clone().into());
// TODO: Update PrivateV1 Constructor with DR, initial_message
Ok((Box::new(convo), vec![]))
Ok((Box::new(convo), None))
}
}
}