resolveOneOnOneConversationWithUser

open suspend override fun resolveOneOnOneConversationWithUser(transactionContext: <Error class: unknown class>, user: <Error class: unknown class>, invalidateCurrentKnownProtocols: Boolean, fallbackToMLS: Boolean): <Error class: unknown class><<Error class: unknown class>, <Error class: unknown class>>

Resolves a one-on-one conversation with a user.

Return

Either a CoreFailure if there is an error or a ConversationId if the resolution is successful.

Parameters

user

The other user in the conversation.

invalidateCurrentKnownProtocols

Flag indicating whether to whether it should attempt refreshing the other user's list of supported protocols by fetching from remote. In case of failure, the local result will be used as a fallback.

fallbackToMLS

Whether a missing common protocol should attempt to establish the canonical MLS conversation instead of falling back to an existing Proteus conversation. This is used for explicit start-conversation actions so Core Crypto can report missing key packages for users without clients.