LeaveSubconversationUseCase

internal interface LeaveSubconversationUseCase

Leave a sub-conversation you've previously joined

Inheritors

Functions

Link copied to clipboard
abstract suspend operator fun invoke(mlsContext: MlsCoreCryptoContext, conversationId: ConversationId, subconversationId: SubconversationId): Either<CoreFailure, PendingSubconversationProposal?>

Returns the pending proposal marked for retirement after the backend leave, if any. The caller must acknowledge that exact token only after the native transaction containing this operation commits.