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: <Error class: unknown class>, assetRepository: AssetRepository, eventRepository: EventRepository, syncManager: SyncManager, slowSyncRepository: SlowSyncRepository, messageSendingScheduler: MessageSendingScheduler, selfConversationIdProvider: SelfConversationIdProvider, staleEpochVerifier: StaleEpochVerifier, eventProcessor: EventProcessor, legalHoldHandler: LegalHoldHandler, notificationTokenRepository: NotificationTokenRepository, scope: <Error class: unknown class>, userStorage: UserStorage, mlsMissingUsersMessageRejectionHandlerProvider: () -> MLSMissingUsersMessageRejectionHandler, updateSelfClientCapabilityToConsumableNotifications: UpdateSelfClientCapabilityToConsumableNotificationsUseCase, selfServerConfig: SelfServerConfigUseCase, fetchConversationUseCase: FetchConversationUseCase, resetMLSConversationUseCase: ResetMLSConversationUseCase, transactionProvider: CryptoTransactionProvider, refillKeyPackagesUseCase: RefillKeyPackagesUseCase, logger: <Error class: unknown class>, val dispatcher: <Error class: unknown class> = 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: <Error class: unknown class>, assetRepository: AssetRepository, eventRepository: EventRepository, syncManager: SyncManager, slowSyncRepository: SlowSyncRepository, messageSendingScheduler: MessageSendingScheduler, selfConversationIdProvider: SelfConversationIdProvider, staleEpochVerifier: StaleEpochVerifier, eventProcessor: EventProcessor, legalHoldHandler: LegalHoldHandler, notificationTokenRepository: NotificationTokenRepository, scope: <Error class: unknown class>, userStorage: UserStorage, mlsMissingUsersMessageRejectionHandlerProvider: () -> MLSMissingUsersMessageRejectionHandler, updateSelfClientCapabilityToConsumableNotifications: UpdateSelfClientCapabilityToConsumableNotificationsUseCase, selfServerConfig: SelfServerConfigUseCase, fetchConversationUseCase: FetchConversationUseCase, resetMLSConversationUseCase: ResetMLSConversationUseCase, transactionProvider: CryptoTransactionProvider, refillKeyPackagesUseCase: RefillKeyPackagesUseCase, logger: <Error class: unknown class>, dispatcher: <Error class: unknown class> = 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
Functions
Link copied to clipboard
suspend fun generateEvents(targetUserId: <Error class: unknown class>, targetClientId: <Error class: unknown class>, conversationId: <Error class: unknown class>, limit: Int): <Error class: unknown class><<Error class: unknown class>>
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.