mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-08-26 15:41:13 +00:00
feat: rename chat-cli's /intro command to /account
This commit is contained in:
@@ -191,7 +191,7 @@ impl GroupV1Convo {
|
||||
self.send_payload(cx, msg_bytes)
|
||||
}
|
||||
|
||||
// Publish outboubound payloads to the DeliveryService
|
||||
// Publish outbound payloads to the DeliveryService
|
||||
fn send_payload<S: ExternalServices>(
|
||||
&mut self,
|
||||
cx: &mut ServiceContext<S>,
|
||||
@@ -329,7 +329,7 @@ impl<S: ExternalServices> GroupConvo<S> for GroupV1Convo {
|
||||
members: &[IdentIdRef],
|
||||
) -> Result<(), ChatError> {
|
||||
if members.len() > 50 {
|
||||
// This is a temporary limit that originates from the the De-MLS epoch time.
|
||||
// This is a temporary limit that originates from the De-MLS epoch time.
|
||||
return Err(ChatError::Protocol(
|
||||
"Cannot add more than 50 Members at a time".into(),
|
||||
));
|
||||
|
||||
@@ -11,8 +11,8 @@ use crate::IdentityProvider;
|
||||
|
||||
/// A Wrapper for an IdentityProvider which provides MLS specific functionality
|
||||
///
|
||||
/// This type stops OpenMLS internal from leaking outside of the crate.
|
||||
/// Developers provider a simple IdentitityProvider, and Signer and Credential generation
|
||||
/// This type stops OpenMLS internal from leaking outside the crate.
|
||||
/// Developers provider a simple IdentityProvider, and Signer and Credential generation
|
||||
/// is provided
|
||||
pub struct MlsIdentityProvider<T: IdentityProvider>(T);
|
||||
|
||||
@@ -55,7 +55,7 @@ impl<T: IdentityProvider> IdentityProvider for MlsIdentityProvider<T> {
|
||||
}
|
||||
}
|
||||
|
||||
// Implement Signer directly for MlsIdentityProvider, so that openmls Signer contstraint
|
||||
// Implement Signer directly for MlsIdentityProvider, so that openmls Signer constraint
|
||||
// does not leave the module.
|
||||
impl<T: IdentityProvider> Signer for MlsIdentityProvider<T> {
|
||||
fn sign(&self, payload: &[u8]) -> Result<Vec<u8>, SignerError> {
|
||||
|
||||
Reference in New Issue
Block a user