From 77641a6971b22e3a180453171f83d4760edcdd8f Mon Sep 17 00:00:00 2001 From: Mikhail Date: Sat, 4 May 2024 17:21:43 +0200 Subject: [PATCH] Remove unused --- crates/projection-xmpp/src/iq.rs | 19 ------------------- 1 file changed, 19 deletions(-) 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![], - } - } }