base: Don't use random event ids, they don't work under wasm.

This commit is contained in:
Damir Jelić 2020-05-14 14:50:20 +02:00
parent 269a01e480
commit e3c16a3aa0

View file

@ -743,7 +743,7 @@ mod test {
client.receive_sync_response(&mut response).await.unwrap();
let event = EncryptionEvent {
event_id: EventId::new("test").unwrap(),
event_id: EventId::try_from("$h29iv0s8:example.com").unwrap(),
origin_server_ts: SystemTime::now(),
sender: user_id,
state_key: "".into(),