SessionEstablisher

internal interface SessionEstablisher

Inheritors

Functions

Link copied to clipboard
abstract suspend fun prepareRecipientsForNewOutgoingMessage(proteusContext: ProteusCoreCryptoContext, recipients: List<Recipient>): Either<CoreFailure, UsersWithoutSessions>

Verifies if this client can send messages to all the client recipients. Will fetch PreKeys and establish cryptographic sessions if needed.