MLSMessageCreatorImpl
internal class MLSMessageCreatorImpl(conversationRepository: ConversationRepository, legalHoldStatusMapper: LegalHoldStatusMapper, mlsConversationRepository: MLSConversationRepository, joinExistingConversationUseCase: JoinExistingMLSConversationUseCase, selfUserId: UserId, protoContentMapper: ProtoContentMapper = MapperProvider.protoContentMapper(selfUserId = selfUserId), idMapper: IdMapper = MapperProvider.idMapper()) : MLSMessageCreator
Constructors
Link copied to clipboard
constructor(conversationRepository: ConversationRepository, legalHoldStatusMapper: LegalHoldStatusMapper, mlsConversationRepository: MLSConversationRepository, joinExistingConversationUseCase: JoinExistingMLSConversationUseCase, selfUserId: UserId, protoContentMapper: ProtoContentMapper = MapperProvider.protoContentMapper(selfUserId = selfUserId), idMapper: IdMapper = MapperProvider.idMapper())
Functions
Link copied to clipboard
open suspend override fun prepareMLSGroupAndCreateOutgoingMLSMessage(transactionContext: CryptoTransactionContext, groupId: GroupID, message: Message.Sendable): Either<CoreFailure, MLSMessageApi.Message>