package org.thoughtcrime.securesms.mms; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import org.thoughtcrime.securesms.attachments.Attachment; import org.thoughtcrime.securesms.contactshare.Contact; import org.thoughtcrime.securesms.linkpreview.LinkPreview; import org.thoughtcrime.securesms.recipients.Recipient; import java.util.Collections; import java.util.List; public class OutgoingSecureMediaMessage extends OutgoingMediaMessage { public OutgoingSecureMediaMessage(Recipient recipient, String body, List attachments, long sentTimeMillis, int distributionType, long expiresIn, @Nullable QuoteModel quote, @NonNull List contacts, @NonNull List previews) { super(recipient, body, attachments, sentTimeMillis, -1, expiresIn, distributionType, quote, contacts, previews, Collections.emptyList(), Collections.emptyList()); } public OutgoingSecureMediaMessage(OutgoingMediaMessage base) { super(base); } @Override public boolean isSecure() { return true; } }