diff --git a/crates/projection-xmpp/src/iq.rs b/crates/projection-xmpp/src/iq.rs index 2373306..34930dd 100644 --- a/crates/projection-xmpp/src/iq.rs +++ b/crates/projection-xmpp/src/iq.rs @@ -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![], - } - } }