DebugScope
class DebugScope(val messageRepository: MessageRepository, conversationRepository: ConversationRepository, mlsConversationRepository: MLSConversationRepository, joinExistingMLSConversationUseCaseProvider: () -> JoinExistingMLSConversationUseCase, clientRepository: ClientRepository, clientRemoteRepository: ClientRemoteRepository, currentClientIdProvider: CurrentClientIdProvider, preKeyRepository: PreKeyRepository, userRepository: UserRepository, featureConfigRepository: FeatureConfigRepository, userId: UserId, assetRepository: AssetRepository, eventRepository: EventRepository, syncManager: SyncManager, slowSyncRepository: SlowSyncRepository, messageSendingScheduler: MessageSendingScheduler, selfConversationIdProvider: SelfConversationIdProvider, staleEpochVerifier: StaleEpochVerifier, eventProcessor: EventProcessor, legalHoldHandler: LegalHoldHandler, notificationTokenRepository: NotificationTokenRepository, scope: CoroutineScope, userStorage: UserStorage, mlsMissingUsersMessageRejectionHandlerProvider: () -> MLSMissingUsersMessageRejectionHandler, x509CredentialAcquisitionConfigProvider: X509CredentialAcquisitionConfigProvider, fetchConversationUseCase: FetchConversationUseCase, resetMLSConversationUseCase: ResetMLSConversationUseCase, transactionProvider: CryptoTransactionProvider, refillKeyPackagesUseCase: RefillKeyPackagesUseCase, certificateRevocationListRepository: CertificateRevocationListRepository, logger: KaliumLogger, val dispatcher: KaliumDispatcher = KaliumDispatcherImpl)
Constructors
Link copied to clipboard
internal constructor(messageRepository: MessageRepository, conversationRepository: ConversationRepository, mlsConversationRepository: MLSConversationRepository, joinExistingMLSConversationUseCaseProvider: () -> JoinExistingMLSConversationUseCase, clientRepository: ClientRepository, clientRemoteRepository: ClientRemoteRepository, currentClientIdProvider: CurrentClientIdProvider, preKeyRepository: PreKeyRepository, userRepository: UserRepository, featureConfigRepository: FeatureConfigRepository, userId: UserId, assetRepository: AssetRepository, eventRepository: EventRepository, syncManager: SyncManager, slowSyncRepository: SlowSyncRepository, messageSendingScheduler: MessageSendingScheduler, selfConversationIdProvider: SelfConversationIdProvider, staleEpochVerifier: StaleEpochVerifier, eventProcessor: EventProcessor, legalHoldHandler: LegalHoldHandler, notificationTokenRepository: NotificationTokenRepository, scope: CoroutineScope, userStorage: UserStorage, mlsMissingUsersMessageRejectionHandlerProvider: () -> MLSMissingUsersMessageRejectionHandler, x509CredentialAcquisitionConfigProvider: X509CredentialAcquisitionConfigProvider, fetchConversationUseCase: FetchConversationUseCase, resetMLSConversationUseCase: ResetMLSConversationUseCase, transactionProvider: CryptoTransactionProvider, refillKeyPackagesUseCase: RefillKeyPackagesUseCase, certificateRevocationListRepository: CertificateRevocationListRepository, logger: KaliumLogger, dispatcher: KaliumDispatcher = KaliumDispatcherImpl)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
suspend fun generateEvents(targetUserId: UserId, targetClientId: ClientId, conversationId: ConversationId, limit: Int): Flow<EventResponse>
Generates test events for debugging purposes. This is a debug utility that creates encrypted events between two clients.
Link copied to clipboard
Refills MLS key packages on the backend. This is a debug utility that wraps the internal crypto transaction logic.