LegalHoldHandler
Functions
Link copied to clipboard
abstract suspend fun handleConversationMembersChanged(conversationId: ConversationId): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun handleDisable(legalHoldDisabled: Event.User.LegalHoldDisabled): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun handleEnable(legalHoldEnabled: Event.User.LegalHoldEnabled): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun handleMessageSendFailure(conversationId: ConversationId, messageInstant: Instant, handleFailure: suspend () -> Either<CoreFailure, Unit>): Either<CoreFailure, Boolean>
Link copied to clipboard
abstract suspend fun handleNewConnection(event: Event.User.NewConnection): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun handleNewMessage(message: MessageUnpackResult.ApplicationMessage, isLive: Boolean): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun handleUserFetch(userId: UserId, userIsUnderLegalHold: Boolean): Either<CoreFailure, Unit>