LegalHoldSystemMessagesHandlerImpl
internal class LegalHoldSystemMessagesHandlerImpl(selfUserId: UserId, persistMessage: PersistMessageUseCase, conversationRepository: ConversationRepository, messageRepository: MessageRepository) : LegalHoldSystemMessagesHandler
Constructors
Link copied to clipboard
constructor(selfUserId: UserId, persistMessage: PersistMessageUseCase, conversationRepository: ConversationRepository, messageRepository: MessageRepository)
Functions
Link copied to clipboard
open suspend override fun handleDisabledForConversation(conversationId: ConversationId, systemMessageInstant: Instant, noticeId: String? = null)
Link copied to clipboard
Link copied to clipboard
open suspend override fun handleEnabledForConversation(conversationId: ConversationId, systemMessageInstant: Instant, noticeId: String? = null)
Link copied to clipboard
Link copied to clipboard
open suspend override fun handleUserTransition(userId: UserId, enabled: Boolean, notices: List<LegalHoldUserTransitionJournal.Notice>, instant: Instant, noticeId: String)
Link copied to clipboard
open suspend override fun prepareUserTransition(userId: UserId, enabled: Boolean, conversations: List<ConversationId>, noticeId: String): List<LegalHoldUserTransitionJournal.Notice>