forked from lavina/lavina
Fake to and from
This commit is contained in:
parent
d00d57ac44
commit
7ccb76d0df
|
@ -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(),
|
||||||
|
|
Loading…
Reference in New Issue