Signed-off-by: Zero King <l2dy@icloud.com>
main
Zero King 2018-05-15 09:14:26 +00:00 committed by Erik Johnston
parent 5ebd64c508
commit 4c807e082f
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ func processRoomEvent(
}
if stateAtEvent.BeforeStateSnapshotNID, err = db.AddState(ctx, roomNID, nil, entries); err != nil {
return nil
return err
}
} else {
// We haven't been told what the state at the event is so we need to calculate it from the prev_events