Remove unnecessary clone
parent
4f3eaa6537
commit
4858ca5f74
|
@ -371,7 +371,7 @@ impl ClientTestRunner {
|
||||||
}
|
}
|
||||||
|
|
||||||
for event in &self.room_events {
|
for event in &self.room_events {
|
||||||
cli.receive_joined_timeline_event(room_id, &mut EventJson::from(event.clone()))
|
cli.receive_joined_timeline_event(room_id, &mut EventJson::from(event))
|
||||||
.await;
|
.await;
|
||||||
}
|
}
|
||||||
for event in &self.presence_events {
|
for event in &self.presence_events {
|
||||||
|
|
Loading…
Reference in New Issue