From 02a73f29f861c637f30df4a2bb1fce400e481a3c Mon Sep 17 00:00:00 2001 From: Kegsay Date: Wed, 2 Sep 2020 10:02:48 +0100 Subject: Expand RoomInfo to cover more DB storage functions (#1377) * Factor more things to RoomInfo * Factor out remaining bits for RoomInfo * Linting for now --- roomserver/storage/tables/interface.go | 1 - 1 file changed, 1 deletion(-) (limited to 'roomserver/storage/tables') diff --git a/roomserver/storage/tables/interface.go b/roomserver/storage/tables/interface.go index ca9159d0..c599dd3f 100644 --- a/roomserver/storage/tables/interface.go +++ b/roomserver/storage/tables/interface.go @@ -63,7 +63,6 @@ type Rooms interface { SelectLatestEventNIDs(ctx context.Context, txn *sql.Tx, roomNID types.RoomNID) ([]types.EventNID, types.StateSnapshotNID, error) SelectLatestEventsNIDsForUpdate(ctx context.Context, txn *sql.Tx, roomNID types.RoomNID) ([]types.EventNID, types.EventNID, types.StateSnapshotNID, error) UpdateLatestEventNIDs(ctx context.Context, txn *sql.Tx, roomNID types.RoomNID, eventNIDs []types.EventNID, lastEventSentNID types.EventNID, stateSnapshotNID types.StateSnapshotNID) error - SelectRoomVersionForRoomID(ctx context.Context, txn *sql.Tx, roomID string) (gomatrixserverlib.RoomVersion, error) SelectRoomVersionForRoomNID(ctx context.Context, roomNID types.RoomNID) (gomatrixserverlib.RoomVersion, error) SelectRoomInfo(ctx context.Context, roomID string) (*types.RoomInfo, error) } -- cgit v1.2.3