mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-03-29 15:43:28 +00:00
28 lines
570 B
Rust
28 lines
570 B
Rust
|
|
use crate::conversation::{ChatError, ConversationId, Convo};
|
||
|
|
|
||
|
|
#[derive(Debug)]
|
||
|
|
pub struct GroupTestConvo {}
|
||
|
|
|
||
|
|
impl GroupTestConvo {
|
||
|
|
pub fn new() -> Self {
|
||
|
|
Self {}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
impl Convo for GroupTestConvo {
|
||
|
|
fn id(&self) -> ConversationId {
|
||
|
|
// implementation
|
||
|
|
"grouptest"
|
||
|
|
}
|
||
|
|
|
||
|
|
fn send_frame(&mut self, _message: &[u8]) -> Result<(), ChatError> {
|
||
|
|
// todo!("Not Implemented")
|
||
|
|
Ok(())
|
||
|
|
}
|
||
|
|
|
||
|
|
fn handle_frame(&mut self, _message: &[u8]) -> Result<(), ChatError> {
|
||
|
|
// todo!("Not Implemented")
|
||
|
|
Ok(())
|
||
|
|
}
|
||
|
|
}
|