mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-29 04:55:15 +00:00
d7e4928f22
// FREEBIE
32 lines
890 B
Java
32 lines
890 B
Java
package org.thoughtcrime.securesms.mms;
|
|
|
|
import android.content.Context;
|
|
|
|
import org.thoughtcrime.securesms.attachments.Attachment;
|
|
import org.thoughtcrime.securesms.recipients.Recipients;
|
|
|
|
import java.util.List;
|
|
|
|
import ws.com.google.android.mms.pdu.PduBody;
|
|
|
|
public class OutgoingSecureMediaMessage extends OutgoingMediaMessage {
|
|
|
|
public OutgoingSecureMediaMessage(Recipients recipients, String body,
|
|
List<Attachment> attachments,
|
|
long sentTimeMillis,
|
|
int distributionType,
|
|
long expiresIn)
|
|
{
|
|
super(recipients, body, attachments, sentTimeMillis, -1, expiresIn, distributionType);
|
|
}
|
|
|
|
public OutgoingSecureMediaMessage(OutgoingMediaMessage base) {
|
|
super(base);
|
|
}
|
|
|
|
@Override
|
|
public boolean isSecure() {
|
|
return true;
|
|
}
|
|
}
|