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
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
This use case enqueue the self deletion of a Message for a specific conversation id and message id