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 {
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(),