Fake to and from

This commit is contained in:
Mikhail 2024-05-18 20:35:31 +02:00
parent d00d57ac44
commit 7ccb76d0df
1 changed files with 6 additions and 6 deletions

View File

@ -86,19 +86,19 @@ impl<'a> XmppConnection<'a> {
Ok(HistoryMessage { Ok(HistoryMessage {
id: "kek".to_string(), id: "kek".to_string(),
to: Jid { to: Jid {
name: Some(Name("tester".into())), name: Some(Name("sauer@oflor.me".into())),
server: Server("localhost".into()), server: Server("localhost".into()),
resource: Some(Resource("tester".into())), resource: Some(Resource("tester".into())),
}, },
from: Jid { from: Jid {
name: Some(Name("tester".into())), name: Some(Name("pepe".into())),
server: Server("localhost".into()), server: Server("rooms.localhost".into()),
resource: Some(Resource("tester".into())), resource: Some(Resource("sauer".into())),
}, },
delay: Delay::new( delay: Delay::new(
Jid { Jid {
name: Some(Name("tester".into())), name: Some(Name("pepe".into())),
server: Server("localhost".into()), server: Server("rooms.localhost".into()),
resource: Some(Resource("tester".into())), resource: Some(Resource("tester".into())),
}, },
"2021-10-10T10:10:10Z".to_string(), "2021-10-10T10:10:10Z".to_string(),