AppMLSReceiveRecovery
internal class AppMLSReceiveRecovery(recovery: MLSReceiveRecovery, conversations: ConversationRepository, mlsConversations: MLSConversationRepository, persistMessage: PersistMessageUseCase, selfUserId: UserId, selfTeamId: SelfTeamIdProvider) : EventBatchRecovery
Main-app effects for the recovery coordinator shared with the notification extension.
Constructors
Link copied to clipboard
constructor(recovery: MLSReceiveRecovery, conversations: ConversationRepository, mlsConversations: MLSConversationRepository, persistMessage: PersistMessageUseCase, selfUserId: UserId, selfTeamId: SelfTeamIdProvider)
Functions
Link copied to clipboard
Link copied to clipboard
suspend fun handle(context: CryptoTransactionContext, event: Event.Conversation.NewMLSMessage, wrongEpoch: Boolean): Boolean
Link copied to clipboard
open suspend override fun recordProcessed(context: CryptoTransactionContext, events: List<EventEnvelope>)
Link copied to clipboard
open suspend override fun wereEffectsProcessed(context: CryptoTransactionContext, envelope: EventEnvelope): Boolean