Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data IncomingBundle Source #
data IncomingMessage Source #
IncomingMessage | |
|
Instances
HasField "sender" IncomingMessage (Maybe Sender) Source # | |
Defined in Galley.API.MLS.IncomingMessage getField :: IncomingMessage -> Maybe Sender # |
postMLSCommitBundle :: (Member (ErrorS MLSLegalholdIncompatible) r, Member Random r, Member Resource r, Member SubConversationStore r, Members MLSBundleStaticErrors r, HasProposalEffects r) => Local x -> Qualified UserId -> ClientId -> ConvType -> Qualified ConvOrSubConvId -> Maybe ConnId -> IncomingBundle -> Sem r [LocalConversationUpdate] Source #
postMLSCommitBundleFromLocalUser :: (Member (ErrorS MLSLegalholdIncompatible) r, Member Random r, Member Resource r, Member SubConversationStore r, Members MLSBundleStaticErrors r, HasProposalEffects r) => Local UserId -> ClientId -> ConnId -> RawMLS CommitBundle -> Sem r MLSMessageSendingStatus Source #
postMLSMessageFromLocalUser :: (HasProposalEffects r, Member (ErrorS 'ConvAccessDenied) r, Member (ErrorS 'ConvMemberNotFound) r, Member (ErrorS 'ConvNotFound) r, Member (ErrorS 'MissingLegalholdConsent) r, Member (ErrorS 'MLSClientSenderUserMismatch) r, Member (ErrorS 'MLSCommitMissingReferences) r, Member (ErrorS 'MLSGroupConversationMismatch) r, Member (ErrorS 'MLSNotEnabled) r, Member (ErrorS 'MLSProposalNotFound) r, Member (ErrorS 'MLSSelfRemovalNotAllowed) r, Member (ErrorS 'MLSStaleMessage) r, Member (ErrorS 'MLSUnsupportedMessage) r, Member (ErrorS 'MLSSubConvClientNotInParent) r, Member SubConversationStore r) => Local UserId -> ClientId -> ConnId -> RawMLS Message -> Sem r MLSMessageSendingStatus Source #
postMLSMessage :: (HasProposalEffects r, Member (ErrorS 'ConvAccessDenied) r, Member (ErrorS 'ConvMemberNotFound) r, Member (ErrorS 'ConvNotFound) r, Member (ErrorS 'MLSNotEnabled) r, Member (ErrorS 'MissingLegalholdConsent) r, Member (ErrorS 'MLSClientSenderUserMismatch) r, Member (ErrorS 'MLSCommitMissingReferences) r, Member (ErrorS 'MLSGroupConversationMismatch) r, Member (ErrorS 'MLSProposalNotFound) r, Member (ErrorS 'MLSSelfRemovalNotAllowed) r, Member (ErrorS 'MLSStaleMessage) r, Member (ErrorS 'MLSUnsupportedMessage) r, Member (ErrorS 'MLSSubConvClientNotInParent) r, Member SubConversationStore r) => Local x -> Qualified UserId -> ClientId -> ConvType -> Qualified ConvOrSubConvId -> Maybe ConnId -> IncomingMessage -> Sem r [LocalConversationUpdate] Source #
type MLSMessageStaticErrors = '[ErrorS 'ConvAccessDenied, ErrorS 'ConvMemberNotFound, ErrorS 'ConvNotFound, ErrorS 'MLSNotEnabled, ErrorS 'MLSUnsupportedMessage, ErrorS 'MLSStaleMessage, ErrorS 'MLSProposalNotFound, ErrorS 'MissingLegalholdConsent, ErrorS 'MLSInvalidLeafNodeIndex, ErrorS 'MLSClientMismatch, ErrorS 'MLSUnsupportedProposal, ErrorS 'MLSCommitMissingReferences, ErrorS 'MLSSelfRemovalNotAllowed, ErrorS 'MLSClientSenderUserMismatch, ErrorS 'MLSGroupConversationMismatch, ErrorS 'MLSSubConvClientNotInParent] Source #