Package-level declarations

Types

When the self user is receiver of the self deletion message, we delete it permanently after expiration and inform the sender by broadcasting a message to delete for the self-deleting message, before the receiver does it on the sender side, the message is simply marked as deleted see com.wire.kalium.logic.feature.message.ephemeral.DeleteEphemeralMessageForSelfUserAsReceiverUseCaseImpl

internal class DeleteEphemeralMessageForSelfUserAsReceiverUseCaseImpl(messageRepository: MessageRepository, assetRepository: AssetRepository, currentClientIdProvider: CurrentClientIdProvider, messageSender: MessageSender, selfUserId: <Error class: unknown class>, selfConversationIdProvider: SelfConversationIdProvider) : DeleteEphemeralMessageForSelfUserAsReceiverUseCase

When the self user is the sender of the self deletion message, we only mark it as deleted (but we delete asset files locally), because we are relying on the receiver, telling us when to delete the message permanently, that is when the message has expired for one of the conversation members of GROUP or ONE_TO_ONE type see com.wire.kalium.logic.feature.message.ephemeral.DeleteEphemeralMessageForSelfUserAsReceiverUseCaseImpl for details

This use case deletes ephemeral Message that have an end date set and it has passed current time

Link copied to clipboard

This use case enqueue the self deletion of a Message for a specific conversation id and message id

Link copied to clipboard
Link copied to clipboard
internal class EphemeralMessageDeletionHandlerImpl(messageRepository: MessageRepository, selfUserId: <Error class: unknown class>, kaliumDispatcher: <Error class: unknown class> = KaliumDispatcherImpl, deleteEphemeralMessageForSelfUserAsReceiver: DeleteEphemeralMessageForSelfUserAsReceiverUseCase, deleteEphemeralMessageForSelfUserAsSender: DeleteEphemeralMessageForSelfUserAsSenderUseCase, kaliumLogger: <Error class: unknown class>, userSessionCoroutineScope: <Error class: unknown class>) : EphemeralMessageDeletionHandler
Link copied to clipboard
internal sealed class LoggingSelfDeletionEvent
Link copied to clipboard
internal class SelfDeletionEventLogger(logger: <Error class: unknown class>)