From 7ccb76d0df8f924b2e7bdaf244ca02f3d2018f56 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Sat, 18 May 2024 20:35:31 +0200 Subject: [PATCH] Fake to and from --- crates/projection-xmpp/src/presence.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/projection-xmpp/src/presence.rs b/crates/projection-xmpp/src/presence.rs index f39ce73..bd41c52 100644 --- a/crates/projection-xmpp/src/presence.rs +++ b/crates/projection-xmpp/src/presence.rs @@ -86,19 +86,19 @@ impl<'a> XmppConnection<'a> { Ok(HistoryMessage { id: "kek".to_string(), to: Jid { - name: Some(Name("tester".into())), + name: Some(Name("sauer@oflor.me".into())), server: Server("localhost".into()), resource: Some(Resource("tester".into())), }, from: Jid { - name: Some(Name("tester".into())), - server: Server("localhost".into()), - resource: Some(Resource("tester".into())), + name: Some(Name("pepe".into())), + server: Server("rooms.localhost".into()), + resource: Some(Resource("sauer".into())), }, delay: Delay::new( Jid { - name: Some(Name("tester".into())), - server: Server("localhost".into()), + name: Some(Name("pepe".into())), + server: Server("rooms.localhost".into()), resource: Some(Resource("tester".into())), }, "2021-10-10T10:10:10Z".to_string(),