fix lossy origin regression 12a8c9badd

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-04-09 02:09:25 -07:00 committed by June
parent 458e56818c
commit 2cc72de80e
3 changed files with 4 additions and 0 deletions

View file

@ -719,6 +719,7 @@ impl Service {
event_id: ruma::event_id!("$thiswillbefilledinlater").into(),
room_id: room_id.to_owned(),
sender: sender.to_owned(),
origin: None,
origin_server_ts: utils::millis_since_unix_epoch()
.try_into()
.expect("time is valid"),