diff --git a/federationapi/routing/send_test.go b/federationapi/routing/send_test.go index 91ed9e602..1a957aee3 100644 --- a/federationapi/routing/send_test.go +++ b/federationapi/routing/send_test.go @@ -84,6 +84,10 @@ type testRoomserverAPI struct { queryLatestEventsAndState func(*api.QueryLatestEventsAndStateRequest) api.QueryLatestEventsAndStateResponse } +func (t *testRoomserverAPI) QueryRoomReceipts(ctx context.Context, req *api.QueryRoomReceiptRequest, res *api.QueryRoomReceiptResponse) error { + return nil +} + func (t *testRoomserverAPI) SetFederationSenderAPI(fsAPI fsAPI.FederationSenderInternalAPI) {} func (t *testRoomserverAPI) InputRoomEvents( diff --git a/syncapi/internal/keychange_test.go b/syncapi/internal/keychange_test.go index c25011814..b2e0eb8ed 100644 --- a/syncapi/internal/keychange_test.go +++ b/syncapi/internal/keychange_test.go @@ -54,6 +54,10 @@ type mockRoomserverAPI struct { roomIDToJoinedMembers map[string][]string } +func (s *mockRoomserverAPI) QueryRoomReceipts(ctx context.Context, req *api.QueryRoomReceiptRequest, res *api.QueryRoomReceiptResponse) error { + return nil +} + // QueryRoomsForUser retrieves a list of room IDs matching the given query. func (s *mockRoomserverAPI) QueryRoomsForUser(ctx context.Context, req *api.QueryRoomsForUserRequest, res *api.QueryRoomsForUserResponse) error { return nil