mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-29 23:21:36 +00:00
parent
5ebd64c508
commit
4c807e082f
@ -114,7 +114,7 @@ func processRoomEvent(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if stateAtEvent.BeforeStateSnapshotNID, err = db.AddState(ctx, roomNID, nil, entries); err != nil {
|
if stateAtEvent.BeforeStateSnapshotNID, err = db.AddState(ctx, roomNID, nil, entries); err != nil {
|
||||||
return nil
|
return err
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// We haven't been told what the state at the event is so we need to calculate it from the prev_events
|
// 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 New Issue
Block a user