SessionEstablisherImpl

internal class SessionEstablisherImpl(proteusClientProvider: ProteusClientProvider, preKeyRepository: PreKeyRepository, idMapper: IdMapper = MapperProvider.idMapper()) : SessionEstablisher

Constructors

Link copied to clipboard
internal constructor(proteusClientProvider: ProteusClientProvider, preKeyRepository: PreKeyRepository, idMapper: IdMapper = MapperProvider.idMapper())

Functions

Link copied to clipboard
open suspend override fun prepareRecipientsForNewOutgoingMessage(recipients: List<<Error class: unknown class>>): Either<CoreFailure, UsersWithoutSessions>

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