diff --git a/services/galley/src/Galley/API/Internal.hs b/services/galley/src/Galley/API/Internal.hs index fe58bf2317b..596f5b516ff 100644 --- a/services/galley/src/Galley/API/Internal.hs +++ b/services/galley/src/Galley/API/Internal.hs @@ -28,6 +28,7 @@ import Control.Exception.Safe (catchAny) import Control.Lens hiding (Getter, Setter, (.=)) import Data.Id as Id import Data.List1 (maybeList1) +import qualified Data.Map as Map import Data.Qualified import Data.Range import Data.Singletons @@ -60,6 +61,7 @@ import Galley.Effects.FederatorAccess import Galley.Effects.GundeckAccess import Galley.Effects.LegalHoldStore as LegalHoldStore import Galley.Effects.MemberStore +import qualified Galley.Effects.MemberStore as E import Galley.Effects.TeamStore import qualified Galley.Intra.Push as Intra import Galley.Monad @@ -96,6 +98,7 @@ import Wire.API.Event.Conversation import Wire.API.Federation.API import Wire.API.Federation.API.Galley import Wire.API.Federation.Error +import Wire.API.MLS.Group import Wire.API.Provider.Service hiding (Service) import Wire.API.Routes.API import Wire.API.Routes.Internal.Galley.TeamFeatureNoConfigMulti @@ -111,9 +114,6 @@ import Wire.API.Team.Member import Wire.API.Team.SearchVisibility import Wire.Sem.Paging import Wire.Sem.Paging.Cassandra -import qualified Galley.Effects.MemberStore as E -import qualified Data.Map as Map -import Wire.API.MLS.Group type LegalHoldFeatureStatusChangeErrors = '( 'ActionDenied 'RemoveConversationMember,