OneOnOneMigrator
Functions
Link copied to clipboard
Migrates the user's one-on-one Proteus. Without creating a new one since MLS is the default, marking it as active.
Link copied to clipboard
abstract suspend fun migrateToMLS(transactionContext: CryptoTransactionContext, user: OtherUser, allowJoinByExternalCommit: Boolean = true): Either<CoreFailure, ConversationId>
Perform migration of Proteus to MLS keeping history and marking the new conversation as active.
Link copied to clipboard
Get one-on-one conversation with the user, if not found, create a new one (Proteus still default) and mark it as active. New conversations require at least one registered recipient client; lookup failures are propagated.