mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-02-10 17:03:12 +00:00
Remove convo_handle from docs
This commit is contained in:
parent
8d313880bb
commit
9e7cbb7799
@ -55,7 +55,7 @@ impl Context {
|
|||||||
convo_id: ConversationId,
|
convo_id: ConversationId,
|
||||||
content: &[u8],
|
content: &[u8],
|
||||||
) -> Result<Vec<AddressedEnvelope>, ChatError> {
|
) -> Result<Vec<AddressedEnvelope>, ChatError> {
|
||||||
// Lookup convo from handle
|
// Lookup convo by id
|
||||||
let convo = self.get_convo_mut(convo_id)?;
|
let convo = self.get_convo_mut(convo_id)?;
|
||||||
|
|
||||||
// Generate encrypted payloads
|
// Generate encrypted payloads
|
||||||
|
|||||||
@ -18,7 +18,7 @@ pub enum ChatError {
|
|||||||
InvalidKeyLength,
|
InvalidKeyLength,
|
||||||
#[error("bytes provided to {0} failed")]
|
#[error("bytes provided to {0} failed")]
|
||||||
BadParsing(&'static str),
|
BadParsing(&'static str),
|
||||||
#[error("convo with handle: {0} was not found")]
|
#[error("convo with id: {0} was not found")]
|
||||||
NoConvo(String),
|
NoConvo(String),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user