diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2021-12-09 15:03:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-09 15:03:26 +0000 |
commit | c3dda0779d5cc176ae6c2213f5321f876fa22a99 (patch) | |
tree | 363512be3188785535e3aafdff4f5b370c24be57 /roomserver/storage/interface.go | |
parent | 172bd7c478f2a836ed42d43e09edda265d92219a (diff) |
Return event NID from `StoreEvent`, match PSQL vs SQLite behaviour, tweak backfill persistence (#2071)
Diffstat (limited to 'roomserver/storage/interface.go')
-rw-r--r-- | roomserver/storage/interface.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roomserver/storage/interface.go b/roomserver/storage/interface.go index 7f6b9855..15764366 100644 --- a/roomserver/storage/interface.go +++ b/roomserver/storage/interface.go @@ -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. |