forked from lavina/lavina
Remove unused
This commit is contained in:
parent
e26715eb20
commit
77641a6971
|
@ -88,7 +88,6 @@ impl<'a> XmppConnection<'a> {
|
|||
req.serialize(output);
|
||||
}
|
||||
IqClientBody::MessageArchiveRequest(request) => {
|
||||
// let response = self.mam().await;
|
||||
let response = Iq {
|
||||
from: iq.to,
|
||||
id: iq.id,
|
||||
|
@ -233,22 +232,4 @@ impl<'a> XmppConnection<'a> {
|
|||
};
|
||||
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![],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue