fix: missing field origin error with synapse servers

This commit is contained in:
Timo Kösters 2022-10-11 15:25:10 +02:00
parent c30cc6120b
commit fb6bfa9753
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
2 changed files with 1 additions and 2 deletions

View file

@ -1470,7 +1470,6 @@ async fn create_join_event(
.filter_map(|(_, id)| services().rooms.timeline.get_pdu_json(id).ok().flatten())
.map(PduEvent::convert_to_outgoing_federation_event)
.collect(),
origin: services().globals.server_name().to_string(),
})
}