Remove unused

This commit is contained in:
Mikhail 2024-05-04 17:21:43 +02:00
parent e26715eb20
commit 77641a6971
1 changed files with 0 additions and 19 deletions

View File

@ -88,7 +88,6 @@ impl<'a> XmppConnection<'a> {
req.serialize(output); req.serialize(output);
} }
IqClientBody::MessageArchiveRequest(request) => { IqClientBody::MessageArchiveRequest(request) => {
// let response = self.mam().await;
let response = Iq { let response = Iq {
from: iq.to, from: iq.to,
id: iq.id, id: iq.id,
@ -233,22 +232,4 @@ impl<'a> XmppConnection<'a> {
}; };
ItemQuery { item } ItemQuery { item }
} }
async fn mam(&self) -> Message<()> {
// return Ok(());
Message::<()> {
from: None,
id: Some("aacea".to_string()),
to: Some(Jid {
name: Some(Name("nikita".into())),
server: Server("vlnv.dev".into()),
resource: None,
}),
r#type: MessageType::Chat,
lang: None,
subject: Some("daa".into()),
body: "bbb".into(),
custom: vec![],
}
}
} }