LegalHoldHandlerImpl

internal class LegalHoldHandlerImpl(selfUserId: <Error class: unknown class>, fetchUsersClientsFromRemote: FetchUsersClientsFromRemoteUseCase, fetchSelfClientsFromRemote: FetchSelfClientsFromRemoteUseCase, observeLegalHoldStateForUser: ObserveLegalHoldStateForUserUseCase, membersHavingLegalHoldClient: MembersHavingLegalHoldClientUseCase, userConfigRepository: UserConfigRepository, conversationRepository: ConversationRepository, legalHoldSystemMessagesHandler: LegalHoldSystemMessagesHandler, observeSyncState: ObserveSyncStateUseCase, kaliumDispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : LegalHoldHandler

Constructors

Link copied to clipboard
internal constructor(selfUserId: <Error class: unknown class>, fetchUsersClientsFromRemote: FetchUsersClientsFromRemoteUseCase, fetchSelfClientsFromRemote: FetchSelfClientsFromRemoteUseCase, observeLegalHoldStateForUser: ObserveLegalHoldStateForUserUseCase, membersHavingLegalHoldClient: MembersHavingLegalHoldClientUseCase, userConfigRepository: UserConfigRepository, conversationRepository: ConversationRepository, legalHoldSystemMessagesHandler: LegalHoldSystemMessagesHandler, observeSyncState: ObserveSyncStateUseCase, kaliumDispatcher: <Error class: unknown class> = KaliumDispatcherImpl)

Functions

Link copied to clipboard
open suspend override fun handleConversationMembersChanged(conversationId: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun handleDisable(legalHoldDisabled: Event.User.LegalHoldDisabled): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun handleEnable(legalHoldEnabled: Event.User.LegalHoldEnabled): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun handleMessageSendFailure(conversationId: <Error class: unknown class>, messageInstant: <Error class: unknown class>, handleFailure: suspend () -> Either<CoreFailure, Unit>): Either<CoreFailure, Boolean>
Link copied to clipboard
open suspend override fun handleNewConnection(event: Event.User.NewConnection): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun handleNewMessage(message: MessageUnpackResult.ApplicationMessage, isLive: Boolean): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun handleUserFetch(userId: <Error class: unknown class>, userIsUnderLegalHold: Boolean): Either<CoreFailure, Unit>