mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Fix typo
Signed-off-by: Zero King <l2dy@icloud.com>
This commit is contained in:
parent
5ebd64c508
commit
741925df60
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue