aboutsummaryrefslogtreecommitdiff
path: root/roomserver/storage/tables
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-09-02 10:02:48 +0100
committerGitHub <noreply@github.com>2020-09-02 10:02:48 +0100
commit02a73f29f861c637f30df4a2bb1fce400e481a3c (patch)
tree6923a7c4db81321e7286cda410fc94f986f9cde8 /roomserver/storage/tables
parent82a96176599aad737e5052a501442b29a5be5c69 (diff)
Expand RoomInfo to cover more DB storage functions (#1377)
* Factor more things to RoomInfo * Factor out remaining bits for RoomInfo * Linting for now
Diffstat (limited to 'roomserver/storage/tables')
-rw-r--r--roomserver/storage/tables/interface.go1
1 files changed, 0 insertions, 1 deletions
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)
}