mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 06:12:45 +00:00
Return event NID from StoreEvent
, match PSQL vs SQLite behaviour, tweak backfill persistence (#2071)
This commit is contained in:
parent
172bd7c478
commit
c3dda0779d
5 changed files with 18 additions and 24 deletions
|
@ -70,7 +70,7 @@ type Database interface {
|
|||
StoreEvent(
|
||||
ctx context.Context, event *gomatrixserverlib.Event, authEventNIDs []types.EventNID,
|
||||
isRejected bool,
|
||||
) (types.RoomNID, types.StateAtEvent, *gomatrixserverlib.Event, string, error)
|
||||
) (types.EventNID, types.RoomNID, types.StateAtEvent, *gomatrixserverlib.Event, string, error)
|
||||
// Look up the state entries for a list of string event IDs
|
||||
// Returns an error if the there is an error talking to the database
|
||||
// Returns a types.MissingEventError if the event IDs aren't in the database.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue