Remove buf_size

This commit is contained in:
Jazz Turner-Baggs 2026-02-03 22:23:48 -08:00
parent c0c0ebc02f
commit 9c3edceb69
No known key found for this signature in database

View File

@ -22,7 +22,6 @@ pub struct Context {
_identity: Rc<Identity>,
store: ConversationStore,
inbox: Inbox,
buf_size: usize,
convo_handle_map: HashMap<u32, Arc<str>>,
next_convo_handle: ConvoHandle,
}
@ -35,20 +34,11 @@ impl Context {
_identity: identity,
store: ConversationStore::new(),
inbox,
buf_size: 0,
convo_handle_map: HashMap::new(),
next_convo_handle: INITIAL_CONVO_HANDLE,
}
}
pub fn buffer_size(&self) -> usize {
self.buf_size
}
pub fn set_buffer_size(&mut self, size: usize) {
self.buf_size = size
}
pub fn create_private_convo(
&mut self,
remote_bundle: &Introduction,