37 errors left

This commit is contained in:
Timo Kösters 2022-10-05 20:33:55 +02:00 committed by Nyaaori
parent 44fe6d1554
commit 33a2b2b772
No known key found for this signature in database
GPG key ID: E7819C3ED4D1F82E
19 changed files with 764 additions and 482 deletions

View file

@ -649,7 +649,8 @@ async fn join_room_by_id_helper(
services().rooms.timeline.append_pdu(
&parsed_pdu,
join_event,
iter::once(&*parsed_pdu.event_id),
vec![(*parsed_pdu.event_id).to_owned()],
&state_lock
)?;
// We set the room state after inserting the pdu, so that we never have a moment in time