LeaveSubconversationUseCaseImpl
internal class LeaveSubconversationUseCaseImpl(val conversationApi: ConversationApi, val subconversationRepository: SubconversationRepository, val selfUserId: UserId, val selfClientIdProvider: CurrentClientIdProvider) : LeaveSubconversationUseCase
Constructors
Link copied to clipboard
constructor(conversationApi: ConversationApi, subconversationRepository: SubconversationRepository, selfUserId: UserId, selfClientIdProvider: CurrentClientIdProvider)
Properties
Functions
Link copied to clipboard
open suspend operator override fun invoke(mlsContext: MlsCoreCryptoContext, conversationId: ConversationId, subconversationId: SubconversationId): Either<CoreFailure, Unit>
Link copied to clipboard
suspend fun retrieveSubconversationGroupId(conversationId: ConversationId, subconversationId: SubconversationId): Either<CoreFailure, GroupID?>